Skip to content

Commit

Permalink
[AArch64][GlobalISel] Re-generate stale test checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
aemerson committed Sep 1, 2023
1 parent 46ea07b commit 8fb12f8
Showing 1 changed file with 30 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8fb12f8

Please sign in to comment.