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

Patrick Simmons via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 31 14:10:04 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
----------------
linuxrocks123 wrote:

@jayfoad, the negative tests crash Global ISel, so I can't add a check unless I broke out the positive tests to a separate file.  I'll do that if you like, but I think a better approach would be to file a JIRA issue to look into that.

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


More information about the cfe-commits mailing list