1 ; RUN: llc -march=hexagon < %s
3 ; Check that the early if-conversion does not predicate block1 (where the
4 ; join block has a phi node of type i1).
6 define i1 @foo(i32 %x, ptr %p) {
8 %c = icmp sgt i32 %x, 0
9 %c1 = icmp sgt i32 %x, 10
10 br i1 %c, label %block2, label %block1
12 store i32 1, ptr %p, align 4
15 %b = phi i1 [ 0, %entry ], [ %c1, %block1 ]