llvm-6502/test/Transforms/Mem2Reg/2002-03-28-UninitializedVal.ll
2006-12-02 04:23:10 +00:00

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