[clang] [AMDGPU] Allow w64 ballot to be used on w32 targets (PR #80183)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 31 13:23:36 PST 2024
================
@@ -151,7 +151,7 @@ BUILTIN(__builtin_amdgcn_mqsad_u32_u8, "V4UiWUiUiV4Ui", "nc")
//===----------------------------------------------------------------------===//
TARGET_BUILTIN(__builtin_amdgcn_ballot_w32, "ZUib", "nc", "wavefrontsize32")
-TARGET_BUILTIN(__builtin_amdgcn_ballot_w64, "WUib", "nc", "wavefrontsize64")
+BUILTIN(__builtin_amdgcn_ballot_w64, "WUib", "nc")
----------------
jhuber6 wrote:
Did some basic checks and it works as expected when called from w32 code.
https://github.com/llvm/llvm-project/pull/80183
More information about the cfe-commits
mailing list