mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
4572ce85b0
llvm-svn: 33296
14 lines
219 B
LLVM
14 lines
219 B
LLVM
; Uninitialized values are not handled correctly.
|
|
;
|
|
; RUN: llvm-upgrade < %s | llvm-as | opt -mem2reg
|
|
;
|
|
|
|
implementation
|
|
|
|
int "test"()
|
|
begin
|
|
%X = alloca int ; To be promoted
|
|
%Y = load int* %X
|
|
ret int %Y
|
|
end
|