From: Jonathan Roelofs Date: Mon, 27 Jan 2020 01:16:57 +0000 (-0700) Subject: [llvm] Fix broken cases of 'CHECK[^:]*$' in tests X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7f93ff58e1bfbfdbb91a4be5271f9f880016e950;p=platform%2Fupstream%2Fllvm.git [llvm] Fix broken cases of 'CHECK[^:]*$' in tests --- diff --git a/llvm/test/CodeGen/AArch64/arm64-mte.ll b/llvm/test/CodeGen/AArch64/arm64-mte.ll index c70bef5..cf53afd 100644 --- a/llvm/test/CodeGen/AArch64/arm64-mte.ll +++ b/llvm/test/CodeGen/AArch64/arm64-mte.ll @@ -173,7 +173,7 @@ entry: %1 = tail call i8* @llvm.aarch64.ldg(i8* %0, i8* %0) %2 = bitcast i8* %1 to i32* ret i32* %2 -; CHECK ldg x0, [x0] +; CHECK: ldg x0, [x0] } define i32* @get_tag1_two_parm(i32* %ret_ptr, i32* %ptr) { @@ -184,7 +184,7 @@ entry: %2 = tail call i8* @llvm.aarch64.ldg(i8* %0, i8* %1) %3 = bitcast i8* %2 to i32* ret i32* %3 -; CHECK ldg x0, [x1] +; CHECK: ldg x0, [x1] } define i32* @get_tag1stack() { diff --git a/llvm/test/CodeGen/PowerPC/vsx-word-splats.ll b/llvm/test/CodeGen/PowerPC/vsx-word-splats.ll index f65a32f..ae8ec07 100644 --- a/llvm/test/CodeGen/PowerPC/vsx-word-splats.ll +++ b/llvm/test/CodeGen/PowerPC/vsx-word-splats.ll @@ -9,7 +9,7 @@ entry: %2 = bitcast <16 x i8> %1 to <4 x float> ret <4 x float> %2 ; CHECK-LABEL: test0f -; CHECK xxspltw: 34, 34, 3 +; CHECK: xxspltw 34, 34, 3 ; CHECK-BE-LABEL: test0f ; CHECK-BE: xxspltw 34, 34, 0 } @@ -21,7 +21,7 @@ entry: %2 = bitcast <16 x i8> %1 to <4 x float> ret <4 x float> %2 ; CHECK-LABEL: test1f -; CHECK xxspltw: 34, 34, 2 +; CHECK: xxspltw 34, 34, 2 ; CHECK-BE-LABEL: test1f ; CHECK-BE: xxspltw 34, 34, 1 } @@ -33,8 +33,8 @@ entry: %2 = bitcast <16 x i8> %1 to <4 x float> ret <4 x float> %2 ; CHECK-LABEL: test2f -; CHECK xxspltw: 34, 34, 1 -; CHECK-LABEL: test2f +; CHECK: xxspltw 34, 34, 1 +; CHECK-BE-LABEL: test2f ; CHECK-BE: xxspltw 34, 34, 2 } @@ -45,7 +45,7 @@ entry: %2 = bitcast <16 x i8> %1 to <4 x float> ret <4 x float> %2 ; CHECK-LABEL: test3f -; CHECK xxspltw: 34, 34, 0 +; CHECK: xxspltw 34, 34, 0 ; CHECK-BE-LABEL: test3f ; CHECK-BE: xxspltw 34, 34, 3 } @@ -57,7 +57,7 @@ entry: %2 = bitcast <16 x i8> %1 to <4 x i32> ret <4 x i32> %2 ; CHECK-LABEL: test0si -; CHECK xxspltw: 34, 34, 3 +; CHECK: xxspltw 34, 34, 3 ; CHECK-BE-LABEL: test0si ; CHECK-BE: xxspltw 34, 34, 0 } @@ -69,7 +69,7 @@ entry: %2 = bitcast <16 x i8> %1 to <4 x i32> ret <4 x i32> %2 ; CHECK-LABEL: test1si -; CHECK xxspltw: 34, 34, 2 +; CHECK: xxspltw 34, 34, 2 ; CHECK-BE-LABEL: test1si ; CHECK-BE: xxspltw 34, 34, 1 } @@ -81,7 +81,7 @@ entry: %2 = bitcast <16 x i8> %1 to <4 x i32> ret <4 x i32> %2 ; CHECK-LABEL: test2si -; CHECK xxspltw: 34, 34, 1 +; CHECK: xxspltw 34, 34, 1 ; CHECK-BE-LABEL: test2si ; CHECK-BE: xxspltw 34, 34, 2 } @@ -93,7 +93,7 @@ entry: %2 = bitcast <16 x i8> %1 to <4 x i32> ret <4 x i32> %2 ; CHECK-LABEL: test3si -; CHECK xxspltw: 34, 34, 0 +; CHECK: xxspltw 34, 34, 0 ; CHECK-BE-LABEL: test3si ; CHECK-BE: xxspltw 34, 34, 3 } @@ -105,7 +105,7 @@ entry: %2 = bitcast <16 x i8> %1 to <4 x i32> ret <4 x i32> %2 ; CHECK-LABEL: test0ui -; CHECK xxspltw: 34, 34, 3 +; CHECK: xxspltw 34, 34, 3 ; CHECK-BE-LABEL: test0ui ; CHECK-BE: xxspltw 34, 34, 0 } @@ -117,7 +117,7 @@ entry: %2 = bitcast <16 x i8> %1 to <4 x i32> ret <4 x i32> %2 ; CHECK-LABEL: test1ui -; CHECK xxspltw: 34, 34, 2 +; CHECK: xxspltw 34, 34, 2 ; CHECK-BE-LABEL: test1ui ; CHECK-BE: xxspltw 34, 34, 1 } @@ -129,7 +129,7 @@ entry: %2 = bitcast <16 x i8> %1 to <4 x i32> ret <4 x i32> %2 ; CHECK-LABEL: test2ui -; CHECK xxspltw: 34, 34, 1 +; CHECK: xxspltw 34, 34, 1 ; CHECK-BE-LABEL: test2ui ; CHECK-BE: xxspltw 34, 34, 2 } @@ -141,7 +141,7 @@ entry: %2 = bitcast <16 x i8> %1 to <4 x i32> ret <4 x i32> %2 ; CHECK-LABEL: test3ui -; CHECK xxspltw: 34, 34, 0 +; CHECK: xxspltw 34, 34, 0 ; CHECK-BE-LABEL: test3ui ; CHECK-BE: xxspltw 34, 34, 3 } diff --git a/llvm/test/DebugInfo/COFF/enum-co.ll b/llvm/test/DebugInfo/COFF/enum-co.ll index c5366ef..b6cb10b 100644 --- a/llvm/test/DebugInfo/COFF/enum-co.ll +++ b/llvm/test/DebugInfo/COFF/enum-co.ll @@ -71,8 +71,8 @@ ; CHECK: TypeLeafKind: LF_ENUM (0x1507) ; CHECK: NumEnumerators: 2 ; CHECK: Properties [ (0x208) -; CHECK HasUniqueName (0x200) -; CHECK Nested (0x8) +; CHECK: HasUniqueName (0x200) +; CHECK: Nested (0x8) ; CHECK: ] ; CHECK: UnderlyingType: int (0x74) ; CHECK: FieldListType: ({{.*}}) diff --git a/llvm/test/Transforms/CorrelatedValuePropagation/udiv.ll b/llvm/test/Transforms/CorrelatedValuePropagation/udiv.ll index cc32840..a2ac3d7 100644 --- a/llvm/test/Transforms/CorrelatedValuePropagation/udiv.ll +++ b/llvm/test/Transforms/CorrelatedValuePropagation/udiv.ll @@ -8,7 +8,7 @@ ; CHECK-LABEL: @test_nop define void @test_nop(i32 %n) { -; CHECK udiv i32 %n, 100 +; CHECK: udiv i32 %n, 100 %div = udiv i32 %n, 100 ret void } diff --git a/llvm/test/Transforms/CorrelatedValuePropagation/urem.ll b/llvm/test/Transforms/CorrelatedValuePropagation/urem.ll index b01e9c5..1816a2b 100644 --- a/llvm/test/Transforms/CorrelatedValuePropagation/urem.ll +++ b/llvm/test/Transforms/CorrelatedValuePropagation/urem.ll @@ -2,7 +2,7 @@ ; CHECK-LABEL: @test_nop define void @test_nop(i32 %n) { -; CHECK udiv i32 %n, 100 +; CHECK: udiv i32 %n, 100 %div = udiv i32 %n, 100 ret void } diff --git a/llvm/test/Transforms/JumpThreading/pr33605.ll b/llvm/test/Transforms/JumpThreading/pr33605.ll index eb8cab9..e1cd809 100644 --- a/llvm/test/Transforms/JumpThreading/pr33605.ll +++ b/llvm/test/Transforms/JumpThreading/pr33605.ll @@ -27,7 +27,7 @@ ; CHECK: br label %if.end ; CHECK-NOT: br label %for.cond ; CHECK: if.end: -; CHECK br label %for.cond +; CHECK: br label %for.cond define i1 @test(i32 %a, i32 %b, i32* %c) { entry: br label %for.cond