mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 15:32:52 +01:00
12 lines
194 B
LLVM
12 lines
194 B
LLVM
|
; RUN: llvm-as < %s | llc
|
||
|
|
||
|
long %test_imm(long %X) {
|
||
|
%Y = shr long %X, ubyte 17
|
||
|
ret long %Y
|
||
|
}
|
||
|
|
||
|
long %test_variable(long %X, ubyte %Amt) {
|
||
|
%Y = shr long %X, ubyte %Amt
|
||
|
ret long %Y
|
||
|
}
|