blob: a2972305960b00b0c8f9a1168f8e8ff34951d718 [file] [log] [blame]
Chris Lattnere2953062003-06-05 20:12:32 +00001; 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: as < %s | opt -instcombine -disable-output
6
7ubyte %test19(bool %c) {
8 br bool true, label %True, label %False
9True:
10 ret ubyte 1
11False:
12 ret ubyte 3
13}
14