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

Patrick Simmons via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 5 12:14:26 PST 2025


================
@@ -0,0 +1,96 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
+; RUN: llc -mtriple=amdgcn -mcpu=gfx900 < %s | FileCheck %s
+
+define amdgpu_ps i32 @bcnt032_not_for_vregs(i64 %val) {
----------------
linuxrocks123 wrote:

Done

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


More information about the llvm-commits mailing list