llvm-project
f48884de - [VPlan] Remove loop region in optimizeForVFAndUF. (#108378)

Commit
221 days ago
[VPlan] Remove loop region in optimizeForVFAndUF. (#108378) Update optimizeForVFAndUF to completely remove the vector loop region when possible. At the moment, we cannot remove the region if it contains * widened IVs: the recipe is needed to generate the step vector * reductions: ComputeReductionResults requires the reduction phi recipe for codegen. Both cases can be addressed by more explicit modeling. The patch also includes a number of updates to allow executing VPlans without a vector loop region. Depends on https://github.com/llvm/llvm-project/pull/110004
Author
Parents
  • llvm
    • lib/Transforms/Vectorize
      • File
        LoopVectorize.cpp
      • File
        VPlan.cpp
      • File
        VPlan.h
      • File
        VPlanTransforms.cpp
    • test/Transforms/LoopVectorize
      • AArch64
        • call-costs.ll
      • RISCV
        • low-trip-count.ll
        • short-trip-count.ll
        • truncate-to-minimal-bitwidth-cost.ll
      • SystemZ
        • pr47665.ll
        • scalar-steps-with-users-demanding-all-lanes-and-first-lane-only.ll
      • X86
        • constant-fold.ll
        • pr34438.ll
      • debugloc-optimize-vfuf-term.ll
      • first-order-recurrence.ll
      • vector-loop-backedge-elimination.ll
      • version-stride-with-integer-casts.ll
      • vplan-printing-before-execute.ll
Loading