llvm/test/CodeGen/AArch64/tailcall_misched_graph.ll: s/REQUIRE/REQUIRES/
[oota-llvm.git] / test / CodeGen / PowerPC / 2008-03-05-RegScavengerAssert.ll
1 ; RUN: llc < %s -mtriple=powerpc-apple-darwin
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 ()*, 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 }