Home | History | Annotate | Download | only in Generic
      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 
      7 declare void @bar(i8*)
      8 
      9 define void @foo() {
     10         %cast225 = inttoptr i64 123456 to i8*           ; <i8*> [#uses=1]
     11         call void @bar( i8* %cast225 )
     12         ret void
     13 }
     14