[all-commits] [llvm/llvm-project] 54558f: [VPlan] Replace InvariantCond field from VPWidenSe...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Mar 10 06:30:09 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54558fd8f3ef1a8b29b1250b53961139d9fc0bed
      https://github.com/llvm/llvm-project/commit/54558fd8f3ef1a8b29b1250b53961139d9fc0bed
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-03-10 (Fri, 10 Mar 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.h
    M llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp
    M llvm/unittests/Transforms/Vectorize/VPlanTest.cpp

  Log Message:
  -----------
  [VPlan] Replace InvariantCond field from VPWidenSelectRecipe.

There is no need to store information about invariance in the recipe.
Replace the fields with checks of the operands using
isDefinedOutsideVectorRegions.

Reviewed By: Ayal

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




More information about the All-commits mailing list