Home | History | Annotate | Download | only in Hexagon
      1 ; RUN: llc -march=hexagon < %s | FileCheck %s
      2 ; CHECK: if{{.*}}add
      3 ; CHECK: if{{.*}}sub
      4 
      5 ; Function Attrs: nounwind
      6 define i32 @f0(i32 %a0, i32 %a1, i32 %a2) #0 {
      7 b0:
      8   %v0 = add i32 %a0, %a2
      9   %v1 = sub i32 %a1, %a2
     10   %v2 = select i1 undef, i32 %v0, i32 %v1
     11   ret i32 %v2
     12 }
     13 
     14 attributes #0 = { nounwind }
     15