projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix really stupid ARM EHABI info generation bug: we should not emit
[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 e179017d10a1fbc5e04315aa2bb2062f799ef1ba..82726daebca36d92b4d44fa2be8d087bf41bf725 100644
(file)
--- a/
test/CodeGen/ARM/atomic-cmp.ll
+++ b/
test/CodeGen/ARM/atomic-cmp.ll
@@
-10,8
+10,6
@@
define i8 @t(i8* %a, i8 %b, i8 %c) nounwind {
; T2: t:
; T2: ldrexb
; T2: strexb
- %tmp0 =
tail call i8 @llvm.atomic.cmp.swap.i8.p0i8(i8* %a, i8 %b, i8 %c)
+ %tmp0 =
cmpxchg i8* %a, i8 %b, i8 %c monotonic
ret i8 %tmp0
}
-
-declare i8 @llvm.atomic.cmp.swap.i8.p0i8(i8* nocapture, i8, i8) nounwind