1 ; RUN: opt < %s -instcombine -S | grep {zext } | count 1 2 ; PR1570 3 4 define i32 @test2(float %X, float %Y) { 5 entry: 6 %tmp3 = fcmp uno float %X, %Y ; <i1> [#uses=1] 7 %tmp34 = zext i1 %tmp3 to i8 ; <i8> [#uses=1] 8 %tmp = xor i8 %tmp34, 1 ; <i8> [#uses=1] 9 %toBoolnot5 = zext i8 %tmp to i32 ; <i32> [#uses=1] 10 ret i32 %toBoolnot5 11 } 12 13