diff options
author | Dan Gohman <gohman@apple.com> | 2010-07-01 02:58:57 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-07-01 02:58:57 +0000 |
commit | 20d4be151b54feb18aa1e5cc04033a4aa64137ae (patch) | |
tree | 5df800c11b786098efd82b64d5f21b8c3d200f35 /test | |
parent | abd1d859b3c35957a3dd5965cf1fd420df0d20e3 (diff) | |
download | llvm-20d4be151b54feb18aa1e5cc04033a4aa64137ae.tar.gz llvm-20d4be151b54feb18aa1e5cc04033a4aa64137ae.tar.bz2 llvm-20d4be151b54feb18aa1e5cc04033a4aa64137ae.tar.xz |
Enable on-demand fast-isel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107377 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/fast-isel-shift-imm.ll | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/CodeGen/X86/fast-isel-shift-imm.ll b/test/CodeGen/X86/fast-isel-shift-imm.ll index 35f7a72a28..7759bb0568 100644 --- a/test/CodeGen/X86/fast-isel-shift-imm.ll +++ b/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 } |