1 ; RUN: llc <%s | FileCheck %s
2 target datalayout = "e-m:e-i64:64-n32:64"
3 target triple = "powerpc64le-unknown-linux-gnu"
5 %struct.buffer_t = type { i64, ptr, [4 x i32], [4 x i32], [4 x i32], i32, i8, i8, [2 x i8] }
7 declare i32 @__f1(ptr, ptr noalias)
10 define i32 @f1(ptr %__user_context, ptr noalias %f1.buffer) {
12 br i1 undef, label %"assert succeeded", label %"assert failed", !prof !1
14 "assert failed": ; preds = %entry
15 br label %destructor_block
17 "assert succeeded": ; preds = %entry
18 %__f1_result = call i32 @__f1(ptr %__user_context, ptr %f1.buffer) #5
19 %0 = icmp eq i32 %__f1_result, 0
20 br i1 %0, label %"assert succeeded11", label %"assert failed10", !prof !1
22 destructor_block: ; preds = %"assert succeeded11", %"assert failed10", %"assert failed"
23 %1 = phi i32 [ undef, %"assert failed" ], [ %__f1_result, %"assert failed10" ], [ 0, %"assert succeeded11" ]
26 "assert failed10": ; preds = %"assert succeeded"
27 br label %destructor_block
29 "assert succeeded11": ; preds = %"assert succeeded"
30 br label %destructor_block
33 attributes #5 = { nounwind }
35 !1 = !{!"branch_weights", i32 1073741824, i32 0}