summaryrefslogtreecommitdiff
path: root/test/CodeGen/IA64/2005-10-29-shladd.ll
blob: 355b487ef5681829f914eb3b16593a5c04205ea3 (plain)
1
2
3
4
5
6
7
8
9
10
11
; this should turn into shladd 
; RUN: llvm-upgrade < %s | llvm-as | llc -march=ia64 | grep 'shladd'

implementation   ; Functions:

long %bogglesmoggle(long %X, long %Y) {
	%A = shl long %X, ubyte 3
	%B = add long %A, %Y 
        ret long %B
}