xref: /llvm-project/llvm/test/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll (revision 0e8bd5a44a1bd8034706189b49a7a816c59304cd)
1; RUN: llc < %s
2
3; This caused the backend to assert out with:
4; SparcInstrInfo.cpp:103: failed assertion `0 && "Unexpected unsigned type"'
5;
6
7declare void @bar(ptr)
8
9define void @foo() {
10        %cast225 = inttoptr i64 123456 to ptr           ; <ptr> [#uses=1]
11        call void @bar( ptr %cast225 )
12        ret void
13}
14