llvm-6502/test/CodeGen/Generic/shift-int64.ll
2006-12-02 04:23:10 +00:00

12 lines
209 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | 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
}