repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-core.git]
/
test
/
Transforms
/
InstCombine
/
2004-05-07-UnsizedCastLoad.ll
blob
ff855dc13e5bdcef3427ff81a27288c217bdab12
1
; RUN: opt < %s -instcombine -disable-output
2
3
%Ty = type opaque
4
5
define i32 @test(%Ty* %X) {
6
%Y = bitcast %Ty* %X to i32* ; <i32*> [#uses=1]
7
%Z = load i32, i32* %Y ; <i32> [#uses=1]
8
ret i32 %Z
9
}
10