diff options
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/atomic-1.ll')
-rw-r--r-- | llvm/test/CodeGen/PowerPC/atomic-1.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/PowerPC/atomic-1.ll b/llvm/test/CodeGen/PowerPC/atomic-1.ll index 838db20ddd1..1737916375c 100644 --- a/llvm/test/CodeGen/PowerPC/atomic-1.ll +++ b/llvm/test/CodeGen/PowerPC/atomic-1.ll @@ -1,7 +1,7 @@ ; RUN: llc < %s -mtriple=powerpc-apple-darwin -march=ppc32 | FileCheck %s define i32 @exchange_and_add(i32* %mem, i32 %val) nounwind { -; CHECK: exchange_and_add: +; CHECK-LABEL: exchange_and_add: ; CHECK: lwarx {{r[0-9]+}}, 0, {{r[0-9]+}} %tmp = atomicrmw add i32* %mem, i32 %val monotonic ; CHECK: stwcx. {{r[0-9]+}}, 0, {{r[0-9]+}} @@ -9,7 +9,7 @@ define i32 @exchange_and_add(i32* %mem, i32 %val) nounwind { } define i32 @exchange_and_cmp(i32* %mem) nounwind { -; CHECK: exchange_and_cmp: +; CHECK-LABEL: exchange_and_cmp: ; CHECK: lwarx %tmp = cmpxchg i32* %mem, i32 0, i32 1 monotonic ; CHECK: stwcx. @@ -18,7 +18,7 @@ define i32 @exchange_and_cmp(i32* %mem) nounwind { } define i32 @exchange(i32* %mem, i32 %val) nounwind { -; CHECK: exchange: +; CHECK-LABEL: exchange: ; CHECK: lwarx %tmp = atomicrmw xchg i32* %mem, i32 1 monotonic ; CHECK: stwcx. |