blob: b2776592a9ca77f24e8b478cc41a80aacef4a536 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; Uninitialized values are not handled correctly.
2;
3; RUN: llvm-upgrade < %s | llvm-as | opt -mem2reg
4;
5
6implementation
7
8int "test"()
9begin
10 %X = alloca int ; To be promoted
11 %Y = load int* %X
12 ret int %Y
13end