xref: /aosp_15_r20/external/llvm/test/CodeGen/Generic/2008-08-07-PtrToInt-SmallerInt.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s
2*9880d681SAndroid Build Coastguard Worker; PR2603
3*9880d681SAndroid Build Coastguard Worker        %struct.A = type { i8 }
4*9880d681SAndroid Build Coastguard Worker        %struct.B = type { i8, [1 x i8] }
5*9880d681SAndroid Build Coastguard Worker@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]
6