37 lines · plain
1; REQUIRES: asserts2; RUN: llc < %s -mtriple=powerpc64le-unknown-linux-gnu -verify-machineinstrs\3; RUN: -mcpu=pwr9 --ppc-enable-pipeliner -debug-only=pipeliner -disable-cgp-delete-phis 2>&1 \4; RUN: >/dev/null | FileCheck %s5 6%0 = type { i32, [16 x double] }7 8; CHECK: MII = 3 MAX_II = 13 (rec=3, res=2)9 10define dso_local fastcc double @_ZN3povL9polysolveEiPdS0_() unnamed_addr #0 {11 br label %112 131: ; preds = %1, %014 br i1 undef, label %2, label %115 162: ; preds = %117 br i1 undef, label %14, label %318 193: ; preds = %3, %220 %4 = phi i64 [ %7, %3 ], [ undef, %2 ]21 %5 = phi double [ %11, %3 ], [ undef, %2 ]22 %6 = phi i64 [ %12, %3 ], [ undef, %2 ]23 %7 = add nsw i64 %4, -124 %8 = fmul fast double %5, 1.000000e+0725 %9 = getelementptr inbounds %0, ptr null, i64 1, i32 1, i64 %726 %10 = load double, ptr %9, align 827 %11 = fadd fast double %10, %828 %12 = add i64 %6, -129 %13 = icmp eq i64 %12, 030 br i1 %13, label %14, label %331 3214: ; preds = %3, %233 %15 = phi double [ undef, %2 ], [ %11, %3 ]34 %16 = fmul fast double %15, undef35 ret double %1636}37