projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add explicit -mtriple=arm-unknown to llvm/test/CodeGen/ARM/disable-tail-calls.ll...
[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 51ada693d0b8834ae05695fa4ac416ce721b7e61..629b16d86ab5723968aa841f5f5404a0abba41a0 100644
(file)
--- a/
test/CodeGen/ARM/atomic-cmp.ll
+++ b/
test/CodeGen/ARM/atomic-cmp.ll
@@
-10,6
+10,7
@@
define i8 @t(i8* %a, i8 %b, i8 %c) nounwind {
; T2-LABEL: t:
; T2: ldrexb
; T2: strexb
- %tmp0 = cmpxchg i8* %a, i8 %b, i8 %c monotonic
- ret i8 %tmp0
+ %tmp0 = cmpxchg i8* %a, i8 %b, i8 %c monotonic monotonic
+ %tmp1 = extractvalue { i8, i1 } %tmp0, 0
+ ret i8 %tmp1
}