Home | History | Annotate | Download | only in InstCombine
      1 ; RUN: opt < %s -instcombine -S | grep call | not grep bitcast
      2 
      3 target datalayout = "e-p:32:32"
      4 target triple = "i686-pc-linux-gnu"
      5 
      6 
      7 define i32 @main() {
      8 entry:
      9 	%tmp = call i32 bitcast (i7* (i999*)* @ctime to i32 (i99*)*)( i99* null )
     10 	ret i32 %tmp
     11 }
     12 
     13 define i7* @ctime(i999*) {
     14 entry:
     15 	%tmp = call i7* bitcast (i32 ()* @main to i7* ()*)( )
     16 	ret i7* %tmp
     17 }
     18