[all-commits] [llvm/llvm-project] 96400f: [VPlan] Record whether scalar IVs are need in indu...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Jan 28 01:34:40 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 96400f179ff640544964f3e51a756e41eb971a43
      https://github.com/llvm/llvm-project/commit/96400f179ff640544964f3e51a756e41eb971a43
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-01-28 (Fri, 28 Jan 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

  Log Message:
  -----------
  [VPlan] Record whether scalar IVs are need in induction recipe. (NFC)

This explicitly records whether a scalar IV is needed in the
VPWidenIntOrFpInductionRecipe, to remove a dependence on the cost-model
during its ::execute.

It will also be used in D116123 to determine if a vector phi will be
generated.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D118167




More information about the All-commits mailing list