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

Jay Foad via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 31 06:29:24 PDT 2025


================
@@ -0,0 +1,110 @@
+; 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
----------------
jayfoad wrote:

Add a GlobalISel run line to check that the patterns work there too?

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


More information about the cfe-commits mailing list