projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[TwoAddressInstructionPass] When looking for a 3 addr conversion after commuting...
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
atomic_mi.ll
diff --git
a/test/CodeGen/X86/atomic_mi.ll
b/test/CodeGen/X86/atomic_mi.ll
index 631c5fbb89abd9d41bd3e028361c79d22599c839..7be791136205e500ab4756b68cf2f836cd7254f6 100644
(file)
--- a/
test/CodeGen/X86/atomic_mi.ll
+++ b/
test/CodeGen/X86/atomic_mi.ll
@@
-210,8
+210,8
@@
define i32 @add_32r_ret_load(i32* %p, i32 %v) {
; X64-LABEL: add_32r_ret_load:
; X64-NOT: lock
; X64: movl (%rdi), %eax
; X64-LABEL: add_32r_ret_load:
; X64-NOT: lock
; X64: movl (%rdi), %eax
-; X64-NEXT:
leal (%rsi,%rax), %ecx
-; X64-NEXT: movl %e
cx
, (%rdi)
+; X64-NEXT:
addl %eax, %esi
+; X64-NEXT: movl %e
si
, (%rdi)
; X64-NEXT: retq
; X32-LABEL: add_32r_ret_load:
; X32-NOT: lock
; X64-NEXT: retq
; X32-LABEL: add_32r_ret_load:
; X32-NOT: lock