diff options
Diffstat (limited to 'llvm/test/CodeGen/ARM/atomic-op.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/atomic-op.ll | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/ARM/atomic-op.ll b/llvm/test/CodeGen/ARM/atomic-op.ll index 2337e835480..a374180a627 100644 --- a/llvm/test/CodeGen/ARM/atomic-op.ll +++ b/llvm/test/CodeGen/ARM/atomic-op.ll @@ -129,11 +129,12 @@ entry: store i32 %9, i32* %old call void asm sideeffect "", "~{memory},~{dirflag},~{fpsr},~{flags}"() ; CHECK: ldrex - ; CHECK: cmp + ; CHECK: bic + ; CHECK-NOT: cmp ; CHECK: strex ; CHECK-T1: bl ___sync_fetch_and_max_4 ; CHECK-T1-M0: bl ___sync_fetch_and_max_4 - ; CHECK-BAREMETAL: cmp + ; CHECK-BAREMETAL: bic ; CHECK-BAREMETAL-NOT: __sync %10 = atomicrmw max i32* %val2, i32 0 monotonic store i32 %10, i32* %old |