projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[TwoAddressInstructionPass] Try 3 Addr Conversion After Commuting.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
commute-two-addr.ll
diff --git
a/test/CodeGen/X86/commute-two-addr.ll
b/test/CodeGen/X86/commute-two-addr.ll
index 656c385e2bc7d6ace081da6dbed5808c09e9cc83..5b01e2f4e90d52b80156b9972ed7d4d863be89ec 100644
(file)
--- a/
test/CodeGen/X86/commute-two-addr.ll
+++ b/
test/CodeGen/X86/commute-two-addr.ll
@@
-39,7
+39,7
@@
define %0 @t3(i32 %lb, i8 zeroext %has_lb, i8 zeroext %lb_inclusive, i32 %ub, i8
entry:
; DARWIN-LABEL: t3:
; DARWIN: shlq $32, %rcx
-; DARWIN-NEXT:
orq %rcx
, %rax
+; DARWIN-NEXT:
leaq (%rax,%rcx)
, %rax
; DARWIN-NEXT: shll $8
; DARWIN-NOT: leaq
%tmp21 = zext i32 %lb to i64