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

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
}