[llvm] [GlobalISel] Combine away G_UNMERGE(G_IMPLICITDEF). (PR #119183)

Thorsten Schütt via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 9 07:15:10 PST 2024


================
@@ -22,8 +22,8 @@ body: |
 
     ; CHECK-LABEL: name: test_implicit_def_s3
     ; CHECK: [[DEF:%[0-9]+]]:_(s64) = G_IMPLICIT_DEF
-    ; CHECK: [[SEXT_INREG:%[0-9]+]]:_(s64) = G_SEXT_INREG [[DEF]], 3
-    ; CHECK: $x0 = COPY [[SEXT_INREG]](s64)
+    ; CHECK-NEXT: [[SEXT_INREG:%[0-9]+]]:_(s64) = G_SEXT_INREG [[DEF]], 3
----------------
tschuett wrote:

G_SEXT_INREG of undef.

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


More information about the llvm-commits mailing list