[clang] [llvm] [mlir] [AArch64][SME] Improve codegen for aarch64.sme.cnts* when not in streaming mode (PR #154761)

Benjamin Maxwell via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 5 05:37:18 PDT 2025


================
@@ -6,49 +6,55 @@
 
 #include <arm_sme.h>
 
-// CHECK-C-LABEL: define dso_local i64 @test_svcntsb(
+// CHECK-C-LABEL: define dso_local range(i64 0, -9223372036854775808) i64 @test_svcntsb(
----------------
MacDue wrote:

I think you're right... I just read `range(i64 0, -9223372036854775808)` as `value >= 0 && < -9223372036854775808` which is wrong, but it seems the range comparisons are unsigned despite how it's printed. 

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


More information about the llvm-commits mailing list