2 Commits

Author SHA1 Message Date
Sameer Sahasrabuddhe
9db642394d
[clang][AMDGPU] fix the return type for ballot (#73906)
In the builtins declaration, "ULi" is a 32-bit integer on Windows. Use
"WUi" instead to ensure a 64-bit integer on all platforms.
2023-12-04 15:15:02 +05:30
Sameer Sahasrabuddhe
0f8681b38e
[clang][AMDGPU] precommit test for ballot on Windows (#73920)
The Clang declaration of the wave-64 builtin uses "UL" as the return
type, which is interpreted as a 32-bit unsigned integer on Windows. This
emits an incorrect LLVM declaration with i32 return type instead of i64.
The clang declaration needs to be fixed to use "WU" instead.
2023-12-04 10:43:16 +05:30