repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix a globalopt crash on two Adobe-C++ testcases that the recent
[llvm.git]
/
test
/
Transforms
/
InstCombine
/
2004-05-07-UnsizedCastLoad.ll
blob
8b549374a70ca539581b34209e97d8b6db11311c
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* %Y ; <i32> [#uses=1]
8
ret i32 %Z
9
}
10