make sure we always handle small negatives well
[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 int %foo(int %x) {
7 entry:
8         %tmp.1 = add int %x, -1         ; <int> [#uses=1]
9         ret int %tmp.1
10 }