llvm-6502/test/CodeGen/Generic/shift-int64.ll

12 lines
194 B
LLVM
Raw Normal View History

; 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
}