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