mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-27 22:12:47 +01:00
f5c61bb390
llvm-svn: 2016
14 lines
199 B
LLVM
14 lines
199 B
LLVM
; 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
|