From e264f62ca09a8f65c87a46d562a4d0f9ec5d457e Mon Sep 17 00:00:00 2001 From: Shih-wei Liao Date: Wed, 10 Feb 2010 11:10:31 -0800 Subject: Check in LLVM r95781. --- test/CodeGen/X86/fast-isel-shift-imm.ll | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/CodeGen/X86/fast-isel-shift-imm.ll (limited to 'test/CodeGen/X86/fast-isel-shift-imm.ll') diff --git a/test/CodeGen/X86/fast-isel-shift-imm.ll b/test/CodeGen/X86/fast-isel-shift-imm.ll new file mode 100644 index 0000000..35f7a72 --- /dev/null +++ b/test/CodeGen/X86/fast-isel-shift-imm.ll @@ -0,0 +1,7 @@ +; RUN: llc < %s -march=x86 -O0 | grep {sarl \$80, %eax} +; PR3242 + +define i32 @foo(i32 %x) nounwind { + %y = ashr i32 %x, 50000 + ret i32 %y +} -- cgit v1.1