summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/fast-isel-shift-imm.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-07-01 02:58:57 +0000
committerDan Gohman <gohman@apple.com>2010-07-01 02:58:57 +0000
commit722f5fc5672e6fdde1731e9d0cee3fd6bee1f490 (patch)
tree98885e3eb6ae9e5f1a8794ca0284e6b2952d2a29 /llvm/test/CodeGen/X86/fast-isel-shift-imm.ll
parent207624edb00cf2c29678b75c49f2d052556ec7ac (diff)
downloadbcm5719-llvm-722f5fc5672e6fdde1731e9d0cee3fd6bee1f490.tar.gz
bcm5719-llvm-722f5fc5672e6fdde1731e9d0cee3fd6bee1f490.zip
Enable on-demand fast-isel.
llvm-svn: 107377
Diffstat (limited to 'llvm/test/CodeGen/X86/fast-isel-shift-imm.ll')
-rw-r--r--llvm/test/CodeGen/X86/fast-isel-shift-imm.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/fast-isel-shift-imm.ll b/llvm/test/CodeGen/X86/fast-isel-shift-imm.ll
index 35f7a72a285..7759bb05689 100644
--- a/llvm/test/CodeGen/X86/fast-isel-shift-imm.ll
+++ b/llvm/test/CodeGen/X86/fast-isel-shift-imm.ll
@@ -1,7 +1,8 @@
; RUN: llc < %s -march=x86 -O0 | grep {sarl \$80, %eax}
; PR3242
-define i32 @foo(i32 %x) nounwind {
+define void @foo(i32 %x, i32* %p) nounwind {
%y = ashr i32 %x, 50000
- ret i32 %y
+ store i32 %y, i32* %p
+ ret void
}
OpenPOWER on IntegriCloud