[clang] [llvm] Match bitsin(typeof(x)) - popcnt(x) to s_bcnt0_i32 on AMDGPU (PR #164847)

Patrick Simmons via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 29 10:36:49 PDT 2025


================
@@ -625,3 +622,111 @@ if:
 endif:
   ret i32 1
 }
+
+define amdgpu_ps void @bcnt032_not_for_vregs(ptr addrspace(1) %out, ptr addrspace(1) %in) {
----------------
linuxrocks123 wrote:

Done

https://github.com/llvm/llvm-project/pull/164847


More information about the llvm-commits mailing list