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