blob: b8d80aee0c66eee3ba0f620d5050908978f15356 [file] [log] [blame]
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s
declare ptr @bar(i32)
; CHECK: @foo
; CHECK: blr
define void @foo(ptr %pp) nounwind {
entry:
%tmp2 = tail call ptr @bar( i32 14 ) nounwind ; <ptr> [#uses=0]
%tmp38 = load ptr, ptr %pp, align 4 ; <ptr> [#uses=2]
br i1 false, label %bb34, label %bb25
bb25: ; preds = %entry
tail call void %tmp38( ptr null ) nounwind
ret void
bb34: ; preds = %entry
tail call void %tmp38( ) nounwind
ret void
}