Added the ability to xfail based on llvmgcc version
[llvm-complete.git] / test / Transforms / InstCombine / 2003-06-05-BranchInvertInfLoop.ll
blob3d26024fe8d794bdabacf0ad344b79bb9af40468
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.
5 ; RUN: llvm-as < %s | opt -instcombine -disable-output
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