repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
A8.6.92 MCR (Encoding A1): if coproc == '101x' then SEE "Advanced SIMD and VFP"
[llvm/stm8.git]
/
test
/
Transforms
/
Mem2Reg
/
2002-03-28-UninitializedVal.ll
blob
777f3757bb8910ac867575ed5f7700e799788852
1
; Uninitialized values are not handled correctly.
2
;
3
; RUN: opt < %s -mem2reg -disable-output
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
}