brintos

brintos / llvm-project-archived public Read only

0
0
Text · 470 B · b09e11f Raw
21 lines · plain
1; RUN: opt -passes='loop-vectorize' -S -pass-remarks-missed=loop-vectorize < %s 2>&1 | FileCheck %s2;3; FP primary induction is not supported in LV. Make sure Legal bails out.4;5; CHECK: loop not vectorized6 7define void @PR37515() {8entry:9  br label %loop10 11loop:12  %p = phi float [ 19.0, %entry ], [ %a, %loop ]13  %a = fadd fast float %p, -1.014  %m = fmul fast float %a, %a15  %c = fcmp fast ugt float %a, 2.016  br i1 %c, label %loop, label %exit17 18exit:19  unreachable20}21