aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Generic/shift-int64.ll
blob: a5ab37d725febf81e1f7eca7f0011d625aaed7bf (plain)
1
2
3
4
5
6
7
8
9
10
11
; 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
}