1; RUN: opt < %s -instcombine -S | FileCheck %s 2 3@.str = internal constant [5 x i8] c"foo\0A\00" 4@.str1 = internal constant [5 x i8] c"bar\0A\00" 5 6define i32 @main() nounwind { 7entry: 8 %x = call i32 @func_11() nounwind 9 %tmp3 = or i32 %x, -5 10 %tmp5 = urem i32 251, %tmp3 11 %tmp6 = icmp ne i32 %tmp5, 0 12 %tmp67 = zext i1 %tmp6 to i32 13 %tmp9 = urem i32 %tmp67, 95 14 %tmp10 = and i32 %tmp9, 1 15 %tmp12 = icmp eq i32 %tmp10, 0 16 br i1 %tmp12, label %bb14, label %bb 17 18bb: 19 br label %bb15 20 21bb14: 22 br label %bb15 23 24bb15: 25 %iftmp.0.0 = phi i8* [ getelementptr ([5 x i8], [5 x i8]* @.str1, i32 0, i32 0), %bb14 ], [ getelementptr ([5 x i8], [5 x i8]* @.str, i32 0, i32 0), %bb ] 26 %tmp17 = call i32 (i8*, ...) @printf(i8* %iftmp.0.0) nounwind 27 ret i32 0 28} 29 30; CHECK-LABEL: define i32 @main( 31; CHECK: call i32 @func_11() 32; CHECK-NEXT: br i1 false, label %bb14, label %bb 33 34declare i32 @func_11() 35 36declare i32 @printf(i8*, ...) nounwind 37