Fix PR1335 and Transforms/Inline/2007-04-15-InlineEH.ll
[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
5 define i32 @foo(i32 sext %x) sext {
6 entry:
7         %tmp.1 = add i32 %x, -1         ; <int> [#uses=1]
8         ret i32 %tmp.1
9 }