summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/testl-commute.ll
diff options
context:
space:
mode:
authorStephen Lin <stephenwlin@gmail.com>2013-07-13 20:38:47 +0000
committerStephen Lin <stephenwlin@gmail.com>2013-07-13 20:38:47 +0000
commitf799e3f9441c2a348af0357a61020cc1e397e66b (patch)
treea423985b913cb793df9846a5fbcaca13c433bf47 /llvm/test/CodeGen/X86/testl-commute.ll
parent67fc79f9eaa2ba685f66586104a2a3ffd893f36d (diff)
downloadbcm5719-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/testl-commute.ll')
-rw-r--r--llvm/test/CodeGen/X86/testl-commute.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/testl-commute.ll b/llvm/test/CodeGen/X86/testl-commute.ll
index 0e6f6363cb8..bf6debf1754 100644
--- a/llvm/test/CodeGen/X86/testl-commute.ll
+++ b/llvm/test/CodeGen/X86/testl-commute.ll
@@ -7,7 +7,7 @@ target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f3
target triple = "x86_64-apple-darwin7"
define i32 @test(i32* %P, i32* %G) nounwind {
-; CHECK: test:
+; CHECK-LABEL: test:
; CHECK-NOT: ret
; CHECK: testl (%{{.*}}), %{{.*}}
; CHECK: ret
@@ -28,7 +28,7 @@ bb1: ; preds = %entry
}
define i32 @test2(i32* %P, i32* %G) nounwind {
-; CHECK: test2:
+; CHECK-LABEL: test2:
; CHECK-NOT: ret
; CHECK: testl (%{{.*}}), %{{.*}}
; CHECK: ret
@@ -49,7 +49,7 @@ bb1: ; preds = %entry
}
define i32 @test3(i32* %P, i32* %G) nounwind {
-; CHECK: test3:
+; CHECK-LABEL: test3:
; CHECK-NOT: ret
; CHECK: testl (%{{.*}}), %{{.*}}
; CHECK: ret
OpenPOWER on IntegriCloud