Removed the -mode option.
[oota-llvm.git] / test / Transforms / Mem2Reg / 2003-04-18-DeadBlockProblem.ll
1 ; This testcases makes sure that mem2reg can handle unreachable blocks.
2 ; RUN: llvm-as < %s | opt -mem2reg
3
4 int %test() {
5         %X = alloca int
6
7         store int 6, int* %X
8         br label %Loop
9 Loop:
10         store int 5, int* %X
11         br label %EndOfLoop
12 Unreachable:
13         br label %EndOfLoop
14
15 EndOfLoop:
16         br label %Loop
17 }