summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/fast-isel-gep.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-11-16 18:44:48 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-11-16 18:44:48 +0000
commitc3aa7c5c5aa1e06aa8a728149c6696401bd08faa (patch)
tree45420443c6f07ddeccaeb268ecdabf37db6c2ae7 /test/CodeGen/X86/fast-isel-gep.ll
parent508a1f4db16baea5c0d5b1c4797d005dff1ee30f (diff)
downloadllvm-c3aa7c5c5aa1e06aa8a728149c6696401bd08faa.tar.gz
llvm-c3aa7c5c5aa1e06aa8a728149c6696401bd08faa.tar.bz2
llvm-c3aa7c5c5aa1e06aa8a728149c6696401bd08faa.tar.xz
Disable expensive two-address optimizations at -O0. rdar://10453055
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144806 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/fast-isel-gep.ll')
-rw-r--r--test/CodeGen/X86/fast-isel-gep.ll5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/CodeGen/X86/fast-isel-gep.ll b/test/CodeGen/X86/fast-isel-gep.ll
index 91d1f5d151..f0375f8602 100644
--- a/test/CodeGen/X86/fast-isel-gep.ll
+++ b/test/CodeGen/X86/fast-isel-gep.ll
@@ -82,9 +82,8 @@ define i64 @test5(i8* %A, i32 %I, i64 %B) nounwind {
ret i64 %v11
; X64: test5:
; X64: movslq %e[[A1]], %rax
-; X64-NEXT: movq (%r[[A0]],%rax), %rax
-; X64-NEXT: addq %{{rdx|r8}}, %rax
-; X64-NEXT: ret
+; X64-NEXT: (%r[[A0]],%rax),
+; X64: ret
}
; PR9500, rdar://9156159 - Don't do non-local address mode folding,