1 ; RUN: llc -O2 < %s | FileCheck %s
2 target datalayout = "e-m:e-i64:64-n32:64"
3 target triple = "powerpc64le-unknown-linux-gnu"
5 ; Check that the conditional return block of fmax_double3.exit was not
6 ; duplicated into the if.then.i block
11 ; CHECK: {{^}}.LBB{{[0-9_]+}}:
12 ; CHECK-SAME: # %fmax_double3.exit
15 ; Function Attrs: nounwind
16 define void @__fmax_double3_3D_exec(<2 x double>* %input6, i1 %bool1, i1 %bool2) #0 {
18 br i1 %bool1, label %if.then.i, label %fmax_double3.exit
20 if.then.i: ; preds = %entry
21 store <2 x double> zeroinitializer, <2 x double>* %input6, align 32
22 br label %fmax_double3.exit
24 fmax_double3.exit: ; preds = %if.then.i, %entry
25 br i1 %bool2, label %if.then, label %do.end
27 if.then: ; preds = %fmax_double3.exit
30 do.end: ; preds = %fmax_double3.exit
34 attributes #0 = { nounwind }