1 ; RUN: llc < %s -march=x86-64 | FileCheck %s
3 ;; Integer absolute value, should produce something at least as good as:
9 define i32 @test(i32 %a) nounwind {
15 %tmp1neg = sub i32 0, %a
16 %b = icmp sgt i32 %a, -1
17 %abs = select i1 %b, i32 %a, i32 %tmp1neg