[llvm] 8fb12f8 - [AArch64][GlobalISel] Re-generate stale test checks.
Amara Emerson via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 1 08:30:13 PDT 2023
Author: Amara Emerson
Date: 2023-09-01T08:29:34-07:00
New Revision: 8fb12f8aded6bb42c0e2c572fa805d67f0f1cb33
URL: https://github.com/llvm/llvm-project/commit/8fb12f8aded6bb42c0e2c572fa805d67f0f1cb33
DIFF: https://github.com/llvm/llvm-project/commit/8fb12f8aded6bb42c0e2c572fa805d67f0f1cb33.diff
LOG: [AArch64][GlobalISel] Re-generate stale test checks.
Added:
Modified:
llvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-combiner-constant-fold.mir
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-combiner-constant-fold.mir b/llvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-combiner-constant-fold.mir
index d5b2b9fa0502ac..fe516029887a00 100644
--- a/llvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-combiner-constant-fold.mir
+++ b/llvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-combiner-constant-fold.mir
@@ -12,9 +12,11 @@ body: |
liveins: $x0
; CHECK-LABEL: name: add
- ; CHECK: %res:_(s64) = G_CONSTANT i64 42
- ; CHECK: $x0 = COPY %res(s64)
- ; CHECK: RET_ReallyLR implicit $x0
+ ; CHECK: liveins: $x0
+ ; CHECK-NEXT: {{ $}}
+ ; CHECK-NEXT: %res:_(s64) = G_CONSTANT i64 42
+ ; CHECK-NEXT: $x0 = COPY %res(s64)
+ ; CHECK-NEXT: RET_ReallyLR implicit $x0
%a:_(s64) = G_CONSTANT i64 40
%b:_(s64) = G_CONSTANT i64 2
%res:_(s64) = G_ADD %a, %b
@@ -33,9 +35,11 @@ body: |
liveins: $x0
; CHECK-LABEL: name: sub
- ; CHECK: %res:_(s64) = G_CONSTANT i64 38
- ; CHECK: $x0 = COPY %res(s64)
- ; CHECK: RET_ReallyLR implicit $x0
+ ; CHECK: liveins: $x0
+ ; CHECK-NEXT: {{ $}}
+ ; CHECK-NEXT: %res:_(s64) = G_CONSTANT i64 38
+ ; CHECK-NEXT: $x0 = COPY %res(s64)
+ ; CHECK-NEXT: RET_ReallyLR implicit $x0
%a:_(s64) = G_CONSTANT i64 40
%b:_(s64) = G_CONSTANT i64 2
%res:_(s64) = G_SUB %a, %b
@@ -54,9 +58,11 @@ body: |
liveins: $x0
; CHECK-LABEL: name: mul
- ; CHECK: %res:_(s64) = G_CONSTANT i64 80
- ; CHECK: $x0 = COPY %res(s64)
- ; CHECK: RET_ReallyLR implicit $x0
+ ; CHECK: liveins: $x0
+ ; CHECK-NEXT: {{ $}}
+ ; CHECK-NEXT: %res:_(s64) = G_CONSTANT i64 80
+ ; CHECK-NEXT: $x0 = COPY %res(s64)
+ ; CHECK-NEXT: RET_ReallyLR implicit $x0
%a:_(s64) = G_CONSTANT i64 40
%b:_(s64) = G_CONSTANT i64 2
%res:_(s64) = G_MUL %a, %b
@@ -75,9 +81,11 @@ body: |
liveins: $x0
; CHECK-LABEL: name: and
- ; CHECK: %res:_(s64) = G_CONSTANT i64 0
- ; CHECK: $x0 = COPY %res(s64)
- ; CHECK: RET_ReallyLR implicit $x0
+ ; CHECK: liveins: $x0
+ ; CHECK-NEXT: {{ $}}
+ ; CHECK-NEXT: %res:_(s64) = G_CONSTANT i64 0
+ ; CHECK-NEXT: $x0 = COPY %res(s64)
+ ; CHECK-NEXT: RET_ReallyLR implicit $x0
%a:_(s64) = G_CONSTANT i64 40
%b:_(s64) = G_CONSTANT i64 2
%res:_(s64) = G_AND %a, %b
@@ -96,9 +104,11 @@ body: |
liveins: $x0
; CHECK-LABEL: name: or
- ; CHECK: %res:_(s64) = G_CONSTANT i64 62
- ; CHECK: $x0 = COPY %res(s64)
- ; CHECK: RET_ReallyLR implicit $x0
+ ; CHECK: liveins: $x0
+ ; CHECK-NEXT: {{ $}}
+ ; CHECK-NEXT: %res:_(s64) = G_CONSTANT i64 62
+ ; CHECK-NEXT: $x0 = COPY %res(s64)
+ ; CHECK-NEXT: RET_ReallyLR implicit $x0
%a:_(s64) = G_CONSTANT i64 42
%b:_(s64) = G_CONSTANT i64 22
%res:_(s64) = G_OR %a, %b
@@ -117,9 +127,11 @@ body: |
liveins: $x0
; CHECK-LABEL: name: xor
- ; CHECK: %res:_(s64) = G_CONSTANT i64 12
- ; CHECK: $x0 = COPY %res(s64)
- ; CHECK: RET_ReallyLR implicit $x0
+ ; CHECK: liveins: $x0
+ ; CHECK-NEXT: {{ $}}
+ ; CHECK-NEXT: %res:_(s64) = G_CONSTANT i64 12
+ ; CHECK-NEXT: $x0 = COPY %res(s64)
+ ; CHECK-NEXT: RET_ReallyLR implicit $x0
%a:_(s64) = G_CONSTANT i64 8
%b:_(s64) = G_CONSTANT i64 4
%res:_(s64) = G_XOR %a, %b
More information about the llvm-commits
mailing list