summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/swift-atomics.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/ARM/swift-atomics.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/ARM/swift-atomics.ll')
-rw-r--r--llvm/test/CodeGen/ARM/swift-atomics.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/ARM/swift-atomics.ll b/llvm/test/CodeGen/ARM/swift-atomics.ll
index 9711a9f151e..1d718155710 100644
--- a/llvm/test/CodeGen/ARM/swift-atomics.ll
+++ b/llvm/test/CodeGen/ARM/swift-atomics.ll
@@ -4,7 +4,7 @@
; Release operations only need the store barrier provided by a "dmb ishst",
define void @test_store_release(i32* %p, i32 %v) {
-; CHECK: test_store_release:
+; CHECK-LABEL: test_store_release:
; CHECK: dmb ishst
; CHECK: str
@@ -17,7 +17,7 @@ define void @test_store_release(i32* %p, i32 %v) {
; followed by an acquire does not get reordered. In that case a "dmb ishst" is
; not adequate.
define i32 @test_seq_cst(i32* %p, i32 %v) {
-; CHECK: test_seq_cst:
+; CHECK-LABEL: test_seq_cst:
; CHECK: dmb ishst
; CHECK: str
; CHECK: dmb {{ish$}}
@@ -35,7 +35,7 @@ define i32 @test_seq_cst(i32* %p, i32 %v) {
; Also, pure acquire operations should definitely not have an ishst barrier.
define i32 @test_acq(i32* %addr) {
-; CHECK: test_acq:
+; CHECK-LABEL: test_acq:
; CHECK: ldr
; CHECK: dmb {{ish$}}
OpenPOWER on IntegriCloud