Force the interpreter for this testcase
[oota-llvm.git] / test / Transforms / LevelRaise / 2002-07-16-SourceAndDestCrash.ll
1 ; This testcase, which was distilled from a HUGE function, causes problems
2 ; because both the source and the destination of the %Y cast are converted
3 ; to a new type, which causes massive problems.
4
5 ; RUN: as < %s | opt -raise -raise-start-inst=W
6
7 int **%test(sbyte **%S) {
8 BB0:
9    br label %Loop
10
11 Loop:
12    %X = phi sbyte* [null , %BB0], [%Z, %Loop]
13
14    %Y = cast sbyte *%X to sbyte **
15    %Z = load sbyte** %Y
16    br bool true, label %Loop, label %Out
17
18 Out:
19   %W = cast sbyte** %Y to int**
20   ret int** %W
21 }