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 | b4dc0233c9f70e8cf946822811f233bb613a02e9 (patch) | |
tree | 6cb47482e15d250ae95e5c6c96abd2afb56f6fca /test/CodeGen/X86/peep-setb.ll | |
parent | ae4e1a94e3fb7d1d2d0eec6eb7d04b74326c8453 (diff) | |
download | llvm-b4dc0233c9f70e8cf946822811f233bb613a02e9.tar.gz llvm-b4dc0233c9f70e8cf946822811f233bb613a02e9.tar.bz2 llvm-b4dc0233c9f70e8cf946822811f233bb613a02e9.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186258 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/peep-setb.ll')
-rw-r--r-- | test/CodeGen/X86/peep-setb.ll | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/CodeGen/X86/peep-setb.ll b/test/CodeGen/X86/peep-setb.ll index 0bab789076..adae8acd04 100644 --- a/test/CodeGen/X86/peep-setb.ll +++ b/test/CodeGen/X86/peep-setb.ll @@ -5,7 +5,7 @@ define i8 @test1(i8 %a, i8 %b) nounwind { %cond = zext i1 %cmp to i8 %add = add i8 %cond, %b ret i8 %add -; CHECK: test1: +; CHECK-LABEL: test1: ; CHECK: adcb $0 } @@ -14,7 +14,7 @@ define i32 @test2(i32 %a, i32 %b) nounwind { %cond = zext i1 %cmp to i32 %add = add i32 %cond, %b ret i32 %add -; CHECK: test2: +; CHECK-LABEL: test2: ; CHECK: adcl $0 } @@ -23,7 +23,7 @@ define i64 @test3(i64 %a, i64 %b) nounwind { %conv = zext i1 %cmp to i64 %add = add i64 %conv, %b ret i64 %add -; CHECK: test3: +; CHECK-LABEL: test3: ; CHECK: adcq $0 } @@ -32,7 +32,7 @@ define i8 @test4(i8 %a, i8 %b) nounwind { %cond = zext i1 %cmp to i8 %sub = sub i8 %b, %cond ret i8 %sub -; CHECK: test4: +; CHECK-LABEL: test4: ; CHECK: sbbb $0 } @@ -41,7 +41,7 @@ define i32 @test5(i32 %a, i32 %b) nounwind { %cond = zext i1 %cmp to i32 %sub = sub i32 %b, %cond ret i32 %sub -; CHECK: test5: +; CHECK-LABEL: test5: ; CHECK: sbbl $0 } @@ -50,7 +50,7 @@ define i64 @test6(i64 %a, i64 %b) nounwind { %conv = zext i1 %cmp to i64 %sub = sub i64 %b, %conv ret i64 %sub -; CHECK: test6: +; CHECK-LABEL: test6: ; CHECK: sbbq $0 } @@ -59,7 +59,7 @@ define i8 @test7(i8 %a, i8 %b) nounwind { %cond = sext i1 %cmp to i8 %sub = sub i8 %b, %cond ret i8 %sub -; CHECK: test7: +; CHECK-LABEL: test7: ; CHECK: adcb $0 } @@ -68,7 +68,7 @@ define i32 @test8(i32 %a, i32 %b) nounwind { %cond = sext i1 %cmp to i32 %sub = sub i32 %b, %cond ret i32 %sub -; CHECK: test8: +; CHECK-LABEL: test8: ; CHECK: adcl $0 } @@ -77,6 +77,6 @@ define i64 @test9(i64 %a, i64 %b) nounwind { %conv = sext i1 %cmp to i64 %sub = sub i64 %b, %conv ret i64 %sub -; CHECK: test9: +; CHECK-LABEL: test9: ; CHECK: adcq $0 } |