Add testcase for reason that typesafety of power is being broken
[oota-llvm.git] / test / Transforms / InstCombine / 2003-06-05-BranchInvertInfLoop.ll
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: as < %s | opt -instcombine -disable-output
6
7 ubyte %test19(bool %c) {
8         br bool true, label %True, label %False
9 True:
10         ret ubyte 1
11 False:
12         ret ubyte 3
13 }
14