Don't create SEXTLOAD/ZEXTLOAD instructions that the target doesn't support
[oota-llvm.git] / test / CodeGen / IA64 / 2005-10-29-shladd.ll
1 ; this should turn into shladd 
2 ; RUN: llvm-as < %s | llc -march=ia64 | grep 'shladd'
3
4 implementation   ; Functions:
5
6 long %bogglesmoggle(long %X, long %Y) {
7         %A = shl long %X, ubyte 3
8         %B = add long %A, %Y 
9         ret long %B
10 }
11