mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-01 19:29:22 +00:00
constant shift count that doesn't fit in the shift instruction's immediate field. This fixes PR3242. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61281 91177308-0d34-0410-b5e6-96231b3b80d8
8 lines
154 B
LLVM
8 lines
154 B
LLVM
; RUN: llvm-as < %s | llc -march=x86 -fast | grep {sarl \$80, %eax}
|
|
; PR3242
|
|
|
|
define i32 @foo(i32 %x) nounwind {
|
|
%y = ashr i32 %x, 50000
|
|
ret i32 %y
|
|
}
|