oops
[oota-llvm.git] / test / CodeGen / Alpha / s4addq.ll
1 ; Make sure this testcase codegens to the S4ADDQ instruction
2 ; RUN: llvm-as < %s | llc -march=alpha | grep 's4addq'
3
4 implementation   ; Functions:
5
6 long %bar(long %x, long %y) {
7 entry:
8         %tmp.1 = shl long %x, ubyte 3           ; <long> [#uses=1]
9         %tmp.3 = add long %tmp.1, %y            ; <long> [#uses=1]
10         ret long %tmp.3
11 }