[clang] [llvm] Match bitsin(typeof(x)) - popcnt(x) to s_bcnt0_i32 on AMDGPU (PR #164847)
Jay Foad via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 29 02:44:11 PDT 2025
================
@@ -2359,6 +2359,12 @@ def int_amdgcn_mbcnt_hi :
DefaultAttrsIntrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty],
[IntrNoMem]>;
+def int_amdgcn_bcnt32_lo :
----------------
jayfoad wrote:
"Intrinsic" means the LLVM IR special function `llvm.amdgcn.bcnt32.lo()`. "Builtin" means the Clang/C++ special function `__builtin_amdgcn_bcnt32_lo()`.
https://github.com/llvm/llvm-project/pull/164847
More information about the cfe-commits
mailing list