1 ; RUN: llvm-as < %s | llc -march=ppc32 -stats |& \
2 ; RUN: grep {4 .*Number of machine instrs printed}
4 ;; Integer absolute value, should produce something as good as:
9 define i32 @test(i32 %a) {
10 %tmp1neg = sub i32 0, %a
11 %b = icmp sgt i32 %a, -1
12 %abs = select i1 %b, i32 %a, i32 %tmp1neg