mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-18 10:31:57 +00:00
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
|
||
|
}
|