mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 18:31:04 +00:00
20d4be151b
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107377 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
174 B
LLVM
9 lines
174 B
LLVM
; RUN: llc < %s -march=x86 -O0 | grep {sarl \$80, %eax}
|
|
; PR3242
|
|
|
|
define void @foo(i32 %x, i32* %p) nounwind {
|
|
%y = ashr i32 %x, 50000
|
|
store i32 %y, i32* %p
|
|
ret void
|
|
}
|