blob: 9f401b3e35459b8f3b2f6391148801c06c256a3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
; Uninitialized values are not handled correctly.
;
; RUN: llvm-as < %s | opt -mem2reg
;
implementation
int "test"()
begin
%X = alloca int ; To be promoted
%Y = load int* %X
ret int %Y
end
|