• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s
2
3declare i8* @bar(i32)
4
5; CHECK: @foo
6; CHECK: blr
7
8define void @foo(i8* %pp) nounwind  {
9entry:
10	%tmp2 = tail call i8* @bar( i32 14 ) nounwind 		; <i8*> [#uses=0]
11	%tmp28 = bitcast i8* %pp to void ()**		; <void ()**> [#uses=1]
12	%tmp38 = load void ()*, void ()** %tmp28, align 4		; <void ()*> [#uses=2]
13	br i1 false, label %bb34, label %bb25
14bb25:		; preds = %entry
15	%tmp30 = bitcast void ()* %tmp38 to void (i8*)*		; <void (i8*)*> [#uses=1]
16	tail call void %tmp30( i8* null ) nounwind
17	ret void
18bb34:		; preds = %entry
19	tail call void %tmp38( ) nounwind
20	ret void
21}
22