[all-commits] [llvm/llvm-project] a8adb3: [VPlan] Replace invariance fields from VPWidenGEPR...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Mar 9 08:52:46 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8adb38a96d31a8845152acf1ead21f3d27e3c41
      https://github.com/llvm/llvm-project/commit/a8adb38a96d31a8845152acf1ead21f3d27e3c41
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-03-09 (Thu, 09 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

  Log Message:
  -----------
  [VPlan] Replace invariance fields from VPWidenGEPRecipe.

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/D144487




More information about the All-commits mailing list