projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Guard fabs to bfc convert with V6T2 flag
[oota-llvm.git]
/
test
/
CodeGen
/
ARM
/
atomic-cmp.ll
diff --git
a/test/CodeGen/ARM/atomic-cmp.ll
b/test/CodeGen/ARM/atomic-cmp.ll
index 629b16d86ab5723968aa841f5f5404a0abba41a0..7f41b7d93d1a3b9ab3fd97eaa438cb6ac7dd89df 100644
(file)
--- a/
test/CodeGen/ARM/atomic-cmp.ll
+++ b/
test/CodeGen/ARM/atomic-cmp.ll
@@
-6,10
+6,12
@@
define i8 @t(i8* %a, i8 %b, i8 %c) nounwind {
; ARM-LABEL: t:
; ARM: ldrexb
; ARM: strexb
+; ARM: clrex
; T2-LABEL: t:
-; T2: ldrexb
; T2: strexb
+; T2: ldrexb
+; T2: clrex
%tmp0 = cmpxchg i8* %a, i8 %b, i8 %c monotonic monotonic
%tmp1 = extractvalue { i8, i1 } %tmp0, 0
ret i8 %tmp1