aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/IA64/2005-10-29-shladd.ll
blob: 186e5e84286cebf825bddf02e927ac7c6d3f6226 (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
}