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