diff options
author | Stephen Lin <stephenwlin@gmail.com> | 2013-07-13 20:38:47 +0000 |
---|---|---|
committer | Stephen Lin <stephenwlin@gmail.com> | 2013-07-13 20:38:47 +0000 |
commit | f799e3f9441c2a348af0357a61020cc1e397e66b (patch) | |
tree | a423985b913cb793df9846a5fbcaca13c433bf47 /llvm/test/CodeGen/X86/vec_compare.ll | |
parent | 67fc79f9eaa2ba685f66586104a2a3ffd893f36d (diff) | |
download | bcm5719-llvm-f799e3f9441c2a348af0357a61020cc1e397e66b.tar.gz bcm5719-llvm-f799e3f9441c2a348af0357a61020cc1e397e66b.zip |
Convert CodeGen/*/*.ll tests to use the new CHECK-LABEL for easier debugging. No functionality change and all tests pass after conversion.
This was done with the following sed invocation to catch label lines demarking function boundaries:
sed -i '' "s/^;\( *\)\([A-Z0-9_]*\):\( *\)test\([A-Za-z0-9_-]*\):\( *\)$/;\1\2-LABEL:\3test\4:\5/g" test/CodeGen/*/*.ll
which was written conservatively to avoid false positives rather than false negatives. I scanned through all the changes and everything looks correct.
llvm-svn: 186258
Diffstat (limited to 'llvm/test/CodeGen/X86/vec_compare.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/vec_compare.ll | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/llvm/test/CodeGen/X86/vec_compare.ll b/llvm/test/CodeGen/X86/vec_compare.ll index fd5c234bb16..365fe92220b 100644 --- a/llvm/test/CodeGen/X86/vec_compare.ll +++ b/llvm/test/CodeGen/X86/vec_compare.ll @@ -2,7 +2,7 @@ define <4 x i32> @test1(<4 x i32> %A, <4 x i32> %B) nounwind { -; CHECK: test1: +; CHECK-LABEL: test1: ; CHECK: pcmpgtd ; CHECK: ret @@ -12,7 +12,7 @@ define <4 x i32> @test1(<4 x i32> %A, <4 x i32> %B) nounwind { } define <4 x i32> @test2(<4 x i32> %A, <4 x i32> %B) nounwind { -; CHECK: test2: +; CHECK-LABEL: test2: ; CHECK: pcmp ; CHECK: pcmp ; CHECK: pxor @@ -23,7 +23,7 @@ define <4 x i32> @test2(<4 x i32> %A, <4 x i32> %B) nounwind { } define <4 x i32> @test3(<4 x i32> %A, <4 x i32> %B) nounwind { -; CHECK: test3: +; CHECK-LABEL: test3: ; CHECK: pcmpgtd ; CHECK: movdqa ; CHECK: ret @@ -33,7 +33,7 @@ define <4 x i32> @test3(<4 x i32> %A, <4 x i32> %B) nounwind { } define <4 x i32> @test4(<4 x i32> %A, <4 x i32> %B) nounwind { -; CHECK: test4: +; CHECK-LABEL: test4: ; CHECK: movdqa ; CHECK: pcmpgtd ; CHECK: ret @@ -43,7 +43,7 @@ define <4 x i32> @test4(<4 x i32> %A, <4 x i32> %B) nounwind { } define <2 x i64> @test5(<2 x i64> %A, <2 x i64> %B) nounwind { -; CHECK: test5: +; CHECK-LABEL: test5: ; CHECK: pcmpeqd ; CHECK: pshufd $-79 ; CHECK: pand @@ -54,7 +54,7 @@ define <2 x i64> @test5(<2 x i64> %A, <2 x i64> %B) nounwind { } define <2 x i64> @test6(<2 x i64> %A, <2 x i64> %B) nounwind { -; CHECK: test6: +; CHECK-LABEL: test6: ; CHECK: pcmpeqd ; CHECK: pshufd $-79 ; CHECK: pand @@ -72,7 +72,7 @@ define <2 x i64> @test7(<2 x i64> %A, <2 x i64> %B) nounwind { ; CHECK-NEXT: .long 0 ; CHECK-NEXT: .long 2147483648 ; CHECK-NEXT: .long 0 -; CHECK: test7: +; CHECK-LABEL: test7: ; CHECK: movdqa [[CONSTSEG]], [[CONSTREG:%xmm[0-9]*]] ; CHECK: pxor [[CONSTREG]] ; CHECK: pxor [[CONSTREG]] @@ -90,7 +90,7 @@ define <2 x i64> @test7(<2 x i64> %A, <2 x i64> %B) nounwind { } define <2 x i64> @test8(<2 x i64> %A, <2 x i64> %B) nounwind { -; CHECK: test8: +; CHECK-LABEL: test8: ; CHECK: pxor ; CHECK: pxor ; CHECK: pcmpgtd %xmm0 @@ -107,7 +107,7 @@ define <2 x i64> @test8(<2 x i64> %A, <2 x i64> %B) nounwind { } define <2 x i64> @test9(<2 x i64> %A, <2 x i64> %B) nounwind { -; CHECK: test9: +; CHECK-LABEL: test9: ; CHECK: pxor ; CHECK: pxor ; CHECK: pcmpgtd %xmm0 @@ -126,7 +126,7 @@ define <2 x i64> @test9(<2 x i64> %A, <2 x i64> %B) nounwind { } define <2 x i64> @test10(<2 x i64> %A, <2 x i64> %B) nounwind { -; CHECK: test10: +; CHECK-LABEL: test10: ; CHECK: pxor ; CHECK: pxor ; CHECK: pcmpgtd %xmm1 @@ -150,7 +150,7 @@ define <2 x i64> @test11(<2 x i64> %A, <2 x i64> %B) nounwind { ; CHECK-NEXT: .long 2147483648 ; CHECK-NEXT: .long 2147483648 ; CHECK-NEXT: .long 2147483648 -; CHECK: test11: +; CHECK-LABEL: test11: ; CHECK: movdqa [[CONSTSEG]], [[CONSTREG:%xmm[0-9]*]] ; CHECK: pxor [[CONSTREG]] ; CHECK: pxor [[CONSTREG]] @@ -168,7 +168,7 @@ define <2 x i64> @test11(<2 x i64> %A, <2 x i64> %B) nounwind { } define <2 x i64> @test12(<2 x i64> %A, <2 x i64> %B) nounwind { -; CHECK: test12: +; CHECK-LABEL: test12: ; CHECK: pxor ; CHECK: pxor ; CHECK: pcmpgtd %xmm0 @@ -185,7 +185,7 @@ define <2 x i64> @test12(<2 x i64> %A, <2 x i64> %B) nounwind { } define <2 x i64> @test13(<2 x i64> %A, <2 x i64> %B) nounwind { -; CHECK: test13: +; CHECK-LABEL: test13: ; CHECK: pxor ; CHECK: pxor ; CHECK: pcmpgtd %xmm0 @@ -204,7 +204,7 @@ define <2 x i64> @test13(<2 x i64> %A, <2 x i64> %B) nounwind { } define <2 x i64> @test14(<2 x i64> %A, <2 x i64> %B) nounwind { -; CHECK: test14: +; CHECK-LABEL: test14: ; CHECK: pxor ; CHECK: pxor ; CHECK: pcmpgtd %xmm1 |