17 lines · plain
1; This testcase causes an infinite loop in the instruction combiner,2; because it things that the constant value is a not expression... and 3; constantly inverts the branch back and forth.4;5; RUN: opt < %s -passes=instcombine -disable-output6 7define i8 @test19(i1 %c) {8 br i1 true, label %True, label %False9 10True: ; preds = %011 ret i8 112 13False: ; preds = %014 ret i8 315}16 17