Sign in
swiftshader
/
SwiftShader
/
a16238df3f28a0d92947654b40f33cfd9a491b72
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
CodeGen
/
Generic
/
2008-08-07-PtrToInt-SmallerInt.ll
blob: 01923dde28748a8bbc62358714e0b21641ce9a24 [
file
] [
log
] [
blame
]
; RUN: llc < %s
; PR2603
%struct.A
=
type
{
i8
}
%struct.B
=
type
{
i8
,
[
1
x
i8
]
}
@Foo
=
constant
%struct.A
{
i8
ptrtoint
(
i8
*
getelementptr
([
1
x
i8
],
[
1
x
i8
]*
inttoptr
(
i32
17
to
[
1
x
i8
]*),
i32
0
,
i32
-
16
)
to
i8
)
}
; <%struct.A*> [#uses=0]