Home | History | Annotate | Download | only in PowerPC
      1 ; RUN: llc < %s -mtriple=powerpc-apple-darwin -enable-ppc32-regscavenger
      2 
      3 declare i8* @bar(i32)
      4 
      5 define void @foo(i8* %pp) nounwind  {
      6 entry:
      7 	%tmp2 = tail call i8* @bar( i32 14 ) nounwind 		; <i8*> [#uses=0]
      8 	%tmp28 = bitcast i8* %pp to void ()**		; <void ()**> [#uses=1]
      9 	%tmp38 = load void ()** %tmp28, align 4		; <void ()*> [#uses=2]
     10 	br i1 false, label %bb34, label %bb25
     11 bb25:		; preds = %entry
     12 	%tmp30 = bitcast void ()* %tmp38 to void (i8*)*		; <void (i8*)*> [#uses=1]
     13 	tail call void %tmp30( i8* null ) nounwind 
     14 	ret void
     15 bb34:		; preds = %entry
     16 	tail call void %tmp38( ) nounwind 
     17 	ret void
     18 }
     19