[llvm] [AArch64][GISel] Signed comparison using CMN is safe when the subtraction is nsw (PR #150480)

David Green via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 28 01:35:30 PDT 2025


================
@@ -1,26 +1,41 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
-; RUN: llc -mtriple=aarch64-unknown-linux-gnu < %s | FileCheck %s
+; RUN: llc -mtriple=aarch64-unknown-linux-gnu < %s | FileCheck %s --check-prefixes=CHECK,SDISEL
+; RUN: llc -mtriple=aarch64-unknown-linux-gnu < %s -global-isel | FileCheck %s --check-prefixes=CHECK,GISEL
----------------
davemgreen wrote:

I have been trying to use CHECK-SD and CHECK-GI to keep things consistent. Do you mind changing to that too.

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


More information about the llvm-commits mailing list