Home | History | Annotate | Download | only in CBackend
      1 ; RUN: llc < %s -march=c | grep {llvm_cbe_t.*&1}
      2 define i32 @test(i32 %r) {
      3   %s = icmp eq i32 %r, 0
      4   %t = add i1 %s, %s
      5   %u = zext i1 %t to i32
      6   br i1 %t, label %A, label %B
      7 A:
      8 
      9   ret i32 %u
     10 B:
     11 
     12   %v = select i1 %t, i32 %r, i32 %u
     13   ret i32 %v
     14 }
     15