; RUN: opt < %s -passes=instcombine,simplifycfg -S | FileCheck %s ; RUN: verify-uselistorder %s @.str_1 = internal constant [6 x i8] c"_Bool\00" ; [#uses=2] ; Make sure there is no branch ; CHECK: define i32 @test( ; CHECK-NEXT: endif.7: ; CHECK-NEXT: ret i32 0 ; CHECK-NEXT: } define i32 @test() { %tmp.54 = load i8, ptr getelementptr ([6 x i8], ptr @.str_1, i64 0, i64 1) ; [#uses=1] %tmp.55 = icmp ne i8 %tmp.54, 66 ; [#uses=1] br i1 %tmp.55, label %then.7, label %endif.7 then.7: ; preds = %then.7, %0 br label %then.7 endif.7: ; preds = %0 ret i32 0 }