Sign in
swiftshader
/
SwiftShader
/
d57d093eba996261528973b9b74d05c7e89cd529
/
.
/
third_party
/
LLVM
/
test
/
Transforms
/
InstCombine
/
2004-05-07-UnsizedCastLoad.ll
blob: df56d07979b32702f9f335bbd3aaddc45e51b6f0 [
file
] [
log
] [
blame
]
; RUN: opt < %s -instcombine -disable-output
%Ty
=
type
opaque
define
i32
@test
(
%Ty
*
%X
)
{
%Y
=
bitcast
%Ty
*
%X
to
i32
*
; <i32*> [#uses=1]
%Z
=
load
i32
*
%Y
; <i32> [#uses=1]
ret
i32
%Z
}