1 ; This testcases makes sure that mem2reg can handle unreachable blocks.
2 ; RUN: llvm-as < %s | opt -mem2reg
5 %X = alloca i32 ; <i32*> [#uses=2]
8 Loop: ; preds = %EndOfLoop, %0
11 Unreachable: ; No predecessors!
13 EndOfLoop: ; preds = %Unreachable, %Loop