Skip to content

Commit 8fb12f8

Browse files
committed
[AArch64][GlobalISel] Re-generate stale test checks.
1 parent 46ea07b commit 8fb12f8

File tree

1 file changed

+30
-18
lines changed

1 file changed

+30
-18
lines changed

llvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-combiner-constant-fold.mir

Lines changed: 30 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ body: |
1212
liveins: $x0
1313
1414
; CHECK-LABEL: name: add
15-
; CHECK: %res:_(s64) = G_CONSTANT i64 42
16-
; CHECK: $x0 = COPY %res(s64)
17-
; CHECK: RET_ReallyLR implicit $x0
15+
; CHECK: liveins: $x0
16+
; CHECK-NEXT: {{ $}}
17+
; CHECK-NEXT: %res:_(s64) = G_CONSTANT i64 42
18+
; CHECK-NEXT: $x0 = COPY %res(s64)
19+
; CHECK-NEXT: RET_ReallyLR implicit $x0
1820
%a:_(s64) = G_CONSTANT i64 40
1921
%b:_(s64) = G_CONSTANT i64 2
2022
%res:_(s64) = G_ADD %a, %b
@@ -33,9 +35,11 @@ body: |
3335
liveins: $x0
3436
3537
; CHECK-LABEL: name: sub
36-
; CHECK: %res:_(s64) = G_CONSTANT i64 38
37-
; CHECK: $x0 = COPY %res(s64)
38-
; CHECK: RET_ReallyLR implicit $x0
38+
; CHECK: liveins: $x0
39+
; CHECK-NEXT: {{ $}}
40+
; CHECK-NEXT: %res:_(s64) = G_CONSTANT i64 38
41+
; CHECK-NEXT: $x0 = COPY %res(s64)
42+
; CHECK-NEXT: RET_ReallyLR implicit $x0
3943
%a:_(s64) = G_CONSTANT i64 40
4044
%b:_(s64) = G_CONSTANT i64 2
4145
%res:_(s64) = G_SUB %a, %b
@@ -54,9 +58,11 @@ body: |
5458
liveins: $x0
5559
5660
; CHECK-LABEL: name: mul
57-
; CHECK: %res:_(s64) = G_CONSTANT i64 80
58-
; CHECK: $x0 = COPY %res(s64)
59-
; CHECK: RET_ReallyLR implicit $x0
61+
; CHECK: liveins: $x0
62+
; CHECK-NEXT: {{ $}}
63+
; CHECK-NEXT: %res:_(s64) = G_CONSTANT i64 80
64+
; CHECK-NEXT: $x0 = COPY %res(s64)
65+
; CHECK-NEXT: RET_ReallyLR implicit $x0
6066
%a:_(s64) = G_CONSTANT i64 40
6167
%b:_(s64) = G_CONSTANT i64 2
6268
%res:_(s64) = G_MUL %a, %b
@@ -75,9 +81,11 @@ body: |
7581
liveins: $x0
7682
7783
; CHECK-LABEL: name: and
78-
; CHECK: %res:_(s64) = G_CONSTANT i64 0
79-
; CHECK: $x0 = COPY %res(s64)
80-
; CHECK: RET_ReallyLR implicit $x0
84+
; CHECK: liveins: $x0
85+
; CHECK-NEXT: {{ $}}
86+
; CHECK-NEXT: %res:_(s64) = G_CONSTANT i64 0
87+
; CHECK-NEXT: $x0 = COPY %res(s64)
88+
; CHECK-NEXT: RET_ReallyLR implicit $x0
8189
%a:_(s64) = G_CONSTANT i64 40
8290
%b:_(s64) = G_CONSTANT i64 2
8391
%res:_(s64) = G_AND %a, %b
@@ -96,9 +104,11 @@ body: |
96104
liveins: $x0
97105
98106
; CHECK-LABEL: name: or
99-
; CHECK: %res:_(s64) = G_CONSTANT i64 62
100-
; CHECK: $x0 = COPY %res(s64)
101-
; CHECK: RET_ReallyLR implicit $x0
107+
; CHECK: liveins: $x0
108+
; CHECK-NEXT: {{ $}}
109+
; CHECK-NEXT: %res:_(s64) = G_CONSTANT i64 62
110+
; CHECK-NEXT: $x0 = COPY %res(s64)
111+
; CHECK-NEXT: RET_ReallyLR implicit $x0
102112
%a:_(s64) = G_CONSTANT i64 42
103113
%b:_(s64) = G_CONSTANT i64 22
104114
%res:_(s64) = G_OR %a, %b
@@ -117,9 +127,11 @@ body: |
117127
liveins: $x0
118128
119129
; CHECK-LABEL: name: xor
120-
; CHECK: %res:_(s64) = G_CONSTANT i64 12
121-
; CHECK: $x0 = COPY %res(s64)
122-
; CHECK: RET_ReallyLR implicit $x0
130+
; CHECK: liveins: $x0
131+
; CHECK-NEXT: {{ $}}
132+
; CHECK-NEXT: %res:_(s64) = G_CONSTANT i64 12
133+
; CHECK-NEXT: $x0 = COPY %res(s64)
134+
; CHECK-NEXT: RET_ReallyLR implicit $x0
123135
%a:_(s64) = G_CONSTANT i64 8
124136
%b:_(s64) = G_CONSTANT i64 4
125137
%res:_(s64) = G_XOR %a, %b

0 commit comments

Comments
 (0)