[llvm] [GlobalISel] Import samesign flag (PR #113090)

Thorsten Schütt via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 21 10:31:09 PDT 2024


================
@@ -0,0 +1,48 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
+# RUN: llc -mtriple aarch64 -run-pass=aarch64-prelegalizer-combiner -verify-machineinstrs %s -o - | FileCheck %s
+
+
+---
+name:            icmp_samesign
+body:             |
+  bb.0:
+    liveins: $w0, $w1
+
+    ; CHECK-LABEL: name: icmp_samesign
+    ; CHECK: liveins: $w0, $w1
+    ; CHECK-NEXT: {{  $}}
+    ; CHECK-NEXT: %y:_(s32) = COPY $w1
+    ; CHECK-NEXT: %cmp:_(s1) = samesign G_ICMP intpred(eq), %y(s32), %y
----------------
tschuett wrote:

insufficient?

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


More information about the llvm-commits mailing list