For PR761:
[oota-llvm.git] / test / CodeGen / Alpha / i32_sub_1.ll
1 ; Make sure this testcase codegens to the ctpop instruction
2 ; RUN: llvm-as < %s | llc -march=alpha | grep -i 'subl $16,1,$0'
3
4 implementation   ; Functions:
5
6 define i32 @foo(i32 sext %x) sext {
7 entry:
8         %tmp.1 = add i32 %x, -1         ; <int> [#uses=1]
9         ret i32 %tmp.1
10 }