diff options
Diffstat (limited to 'test/CodeGen/X86/fast-isel-shift-imm.ll')
-rw-r--r-- | test/CodeGen/X86/fast-isel-shift-imm.ll | 7 |
1 files changed, 7 insertions, 0 deletions
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 +} |