projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Teach masked value is zero about add and sub, and use MVIZ to
[oota-llvm.git]
/
test
/
Transforms
/
Mem2Reg
/
2002-03-28-UninitializedVal.ll
1
; Uninitialized values are not handled correctly.
2
;
3
; RUN: llvm-as < %s | opt -mem2reg
4
;
5
6
define i32 @test() {
7
; To be promoted
8
%X = alloca i32 ; <i32*> [#uses=1]
9
%Y = load i32* %X ; <i32> [#uses=1]
10
ret i32 %Y
11
}