diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-11-16 18:44:48 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-11-16 18:44:48 +0000 |
commit | 822ddde50d8bb95fecb055b84fe318ffa9708715 (patch) | |
tree | 668ee827e0f83defd6bb75e289da7008e0c0e896 /llvm/test/CodeGen/X86/fast-isel-x86-64.ll | |
parent | 80979b6ea6a3bef6b6e74b78798e2ee1d72b325f (diff) | |
download | bcm5719-llvm-822ddde50d8bb95fecb055b84fe318ffa9708715.tar.gz bcm5719-llvm-822ddde50d8bb95fecb055b84fe318ffa9708715.zip |
Disable expensive two-address optimizations at -O0. rdar://10453055
llvm-svn: 144806
Diffstat (limited to 'llvm/test/CodeGen/X86/fast-isel-x86-64.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/fast-isel-x86-64.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/fast-isel-x86-64.ll b/llvm/test/CodeGen/X86/fast-isel-x86-64.ll index 6a5a10295fb..377fd116253 100644 --- a/llvm/test/CodeGen/X86/fast-isel-x86-64.ll +++ b/llvm/test/CodeGen/X86/fast-isel-x86-64.ll @@ -82,7 +82,7 @@ entry: ret i64 %mul ; CHECK: test6: -; CHECK: leaq (,%rdi,8), %rax +; CHECK: shlq $3, %rdi } define i32 @test7(i32 %x) nounwind ssp { @@ -90,7 +90,7 @@ entry: %mul = mul nsw i32 %x, 8 ret i32 %mul ; CHECK: test7: -; CHECK: leal (,%rdi,8), %eax +; CHECK: shll $3, %edi } |