1 ; RUN: llc -mcpu=pwr7 -mattr=+vsx < %s | FileCheck %s
2 target datalayout = "E-m:e-i64:64-n32:64"
3 target triple = "powerpc64-unknown-linux-gnu"
5 define double @takFP(double %x, double %y, double %z) #0 {
7 br i1 undef, label %if.then, label %return
9 if.then: ; preds = %if.then, %entry
10 %x.tr16 = phi double [ %call, %if.then ], [ %x, %entry ]
11 %call = tail call double @takFP(double undef, double undef, double undef)
12 %call4 = tail call double @takFP(double undef, double %x.tr16, double undef)
13 %cmp = fcmp olt double undef, %call
14 br i1 %cmp, label %if.then, label %return
16 return: ; preds = %if.then, %entry
17 %z.tr.lcssa = phi double [ %z, %entry ], [ %call4, %if.then ]
18 ret double %z.tr.lcssa
21 ; CHECK-NOT: xxlor 0, 0, 0
25 attributes #0 = { nounwind readnone }
26 attributes #1 = { nounwind }