projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial checkin of first regression test for mem2reg pass
[oota-llvm.git]
/
test
/
Transforms
/
Mem2Reg
/
2002-03-28-UninitializedVal.ll
1
; Uninitialized values are not handled correctly.
2
;
3
; RUN: as < %s | opt -mem2reg
4
;
5
6
implementation
7
8
int "test"()
9
begin
10
%X = alloca int ; To be promoted
11
%Y = load int* %X
12
ret int %Y
13
end