35 lines · plain
1; RUN: llc -O2 < %s | FileCheck %s2target datalayout = "e-m:e-i64:64-n32:64"3target triple = "powerpc64le-unknown-linux-gnu"4 5; Check that the conditional return block of fmax_double3.exit was not6; duplicated into the if.then.i block7; CHECK: # %if.then.i8; CHECK: xxlxor9; CHECK: stxvd2x10; CHECK-NOT: bclr11; CHECK: {{^}}.LBB{{[0-9_]+}}:12; CHECK-SAME: # %fmax_double3.exit13; CHECK: bclr14; CHECK: # %if.then15; Function Attrs: nounwind16define void @__fmax_double3_3D_exec(ptr %input6, i1 %bool1, i1 %bool2) #0 {17entry:18 br i1 %bool1, label %if.then.i, label %fmax_double3.exit19 20if.then.i: ; preds = %entry21 store <2 x double> zeroinitializer, ptr %input6, align 3222 br label %fmax_double3.exit23 24fmax_double3.exit: ; preds = %if.then.i, %entry25 br i1 %bool2, label %if.then, label %do.end26 27if.then: ; preds = %fmax_double3.exit28 unreachable29 30do.end: ; preds = %fmax_double3.exit31 ret void32}33 34attributes #0 = { nounwind }35