From: Amara Emerson Date: Mon, 5 Sep 2022 14:17:55 +0000 (+0100) Subject: [GlobalISel] Update test checks before a patch. X-Git-Tag: upstream/17.0.6~34380 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22b6a4fcac1296646ce647295141ab71845348d1;p=platform%2Fupstream%2Fllvm.git [GlobalISel] Update test checks before a patch. --- diff --git a/llvm/test/CodeGen/AArch64/GlobalISel/combine-extract-vec-elt.mir b/llvm/test/CodeGen/AArch64/GlobalISel/combine-extract-vec-elt.mir index 997117a..022618a 100644 --- a/llvm/test/CodeGen/AArch64/GlobalISel/combine-extract-vec-elt.mir +++ b/llvm/test/CodeGen/AArch64/GlobalISel/combine-extract-vec-elt.mir @@ -17,9 +17,10 @@ body: | ; CHECK-LABEL: name: extract_from_build_vector ; CHECK: liveins: $x0, $x1 - ; CHECK: %arg1:_(s64) = COPY $x0 - ; CHECK: $x0 = COPY %arg1(s64) - ; CHECK: RET_ReallyLR implicit $x0 + ; CHECK-NEXT: {{ $}} + ; CHECK-NEXT: %arg1:_(s64) = COPY $x0 + ; CHECK-NEXT: $x0 = COPY %arg1(s64) + ; CHECK-NEXT: RET_ReallyLR implicit $x0 %arg1:_(s64) = COPY $x0 %arg2:_(s64) = COPY $x1 %zero:_(s32) = G_CONSTANT i32 0 @@ -46,9 +47,10 @@ body: | ; CHECK-LABEL: name: extract_from_build_vector_idx1 ; CHECK: liveins: $x0, $x1 - ; CHECK: %arg2:_(s64) = COPY $x1 - ; CHECK: $x0 = COPY %arg2(s64) - ; CHECK: RET_ReallyLR implicit $x0 + ; CHECK-NEXT: {{ $}} + ; CHECK-NEXT: %arg2:_(s64) = COPY $x1 + ; CHECK-NEXT: $x0 = COPY %arg2(s64) + ; CHECK-NEXT: RET_ReallyLR implicit $x0 %arg1:_(s64) = COPY $x0 %arg2:_(s64) = COPY $x1 %one:_(s32) = G_CONSTANT i32 1 @@ -75,13 +77,14 @@ body: | ; CHECK-LABEL: name: extract_from_build_vector_idx_invalid ; CHECK: liveins: $x0, $x1 - ; CHECK: %arg1:_(s64) = COPY $x0 - ; CHECK: %arg2:_(s64) = COPY $x1 - ; CHECK: %idx:_(s32) = G_CONSTANT i32 4 - ; CHECK: %bv:_(<2 x s64>) = G_BUILD_VECTOR %arg1(s64), %arg2(s64) - ; CHECK: %extract:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %idx(s32) - ; CHECK: $x0 = COPY %extract(s64) - ; CHECK: RET_ReallyLR implicit $x0 + ; CHECK-NEXT: {{ $}} + ; CHECK-NEXT: %arg1:_(s64) = COPY $x0 + ; CHECK-NEXT: %arg2:_(s64) = COPY $x1 + ; CHECK-NEXT: %idx:_(s32) = G_CONSTANT i32 4 + ; CHECK-NEXT: %bv:_(<2 x s64>) = G_BUILD_VECTOR %arg1(s64), %arg2(s64) + ; CHECK-NEXT: %extract:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %idx(s32) + ; CHECK-NEXT: $x0 = COPY %extract(s64) + ; CHECK-NEXT: RET_ReallyLR implicit $x0 %arg1:_(s64) = COPY $x0 %arg2:_(s64) = COPY $x1 %idx:_(s32) = G_CONSTANT i32 4 @@ -108,10 +111,11 @@ body: | ; CHECK-LABEL: name: extract_from_build_vector_trunc ; CHECK: liveins: $x0, $x1 - ; CHECK: %arg1:_(s64) = COPY $x0 - ; CHECK: %extract:_(s32) = G_TRUNC %arg1(s64) - ; CHECK: $w0 = COPY %extract(s32) - ; CHECK: RET_ReallyLR implicit $w0 + ; CHECK-NEXT: {{ $}} + ; CHECK-NEXT: %arg1:_(s64) = COPY $x0 + ; CHECK-NEXT: %extract:_(s32) = G_TRUNC %arg1(s64) + ; CHECK-NEXT: $w0 = COPY %extract(s32) + ; CHECK-NEXT: RET_ReallyLR implicit $w0 %arg1:_(s64) = COPY $x0 %arg2:_(s64) = COPY $x1 %zero:_(s32) = G_CONSTANT i32 0 @@ -138,14 +142,15 @@ body: | ; CHECK-LABEL: name: extract_from_build_vector_multiple_uses ; CHECK: liveins: $x0, $x1 - ; CHECK: %arg1:_(s64) = COPY $x0 - ; CHECK: %arg2:_(s64) = COPY $x1 - ; CHECK: %zero:_(s32) = G_CONSTANT i32 0 - ; CHECK: %bv:_(<2 x s64>) = G_BUILD_VECTOR %arg1(s64), %arg2(s64) - ; CHECK: %extract:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %zero(s32) - ; CHECK: $x0 = COPY %extract(s64) - ; CHECK: $q0 = COPY %bv(<2 x s64>) - ; CHECK: RET_ReallyLR implicit $x0 + ; CHECK-NEXT: {{ $}} + ; CHECK-NEXT: %arg1:_(s64) = COPY $x0 + ; CHECK-NEXT: %arg2:_(s64) = COPY $x1 + ; CHECK-NEXT: %zero:_(s32) = G_CONSTANT i32 0 + ; CHECK-NEXT: %bv:_(<2 x s64>) = G_BUILD_VECTOR %arg1(s64), %arg2(s64) + ; CHECK-NEXT: %extract:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %zero(s32) + ; CHECK-NEXT: $x0 = COPY %extract(s64) + ; CHECK-NEXT: $q0 = COPY %bv(<2 x s64>) + ; CHECK-NEXT: RET_ReallyLR implicit $x0 %arg1:_(s64) = COPY $x0 %arg2:_(s64) = COPY $x1 %zero:_(s32) = G_CONSTANT i32 0 @@ -172,9 +177,10 @@ body: | ; combine. ; CHECK-LABEL: name: extract_from_insert ; CHECK: liveins: $x0, $x1 - ; CHECK: %arg1:_(s64) = COPY $x0 - ; CHECK: $x0 = COPY %arg1(s64) - ; CHECK: RET_ReallyLR implicit $x0 + ; CHECK-NEXT: {{ $}} + ; CHECK-NEXT: %arg1:_(s64) = COPY $x0 + ; CHECK-NEXT: $x0 = COPY %arg1(s64) + ; CHECK-NEXT: RET_ReallyLR implicit $x0 %arg1:_(s64) = COPY $x0 %arg2:_(s64) = COPY $x1 %undef:_(<2 x s64>) = G_IMPLICIT_DEF