[all-commits] [llvm/llvm-project] eb0371: [VPlan] Unify value/recipe printing after VPDef tr...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Jan 11 06:48:40 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: eb0371e403a67fdb580e24b9911107bfc9a828b3
      https://github.com/llvm/llvm-project/commit/eb0371e403a67fdb580e24b9911107bfc9a828b3
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-01-11 (Mon, 11 Jan 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanSLP.cpp
    M llvm/lib/Transforms/Vectorize/VPlanValue.h
    M llvm/test/Transforms/LoopVectorize/vplan-printing.ll
    M llvm/unittests/Transforms/Vectorize/VPlanTest.cpp

  Log Message:
  -----------
  [VPlan] Unify value/recipe printing after VPDef transition.

This patch unifies the way recipes and VPValues are printed after the
transition to VPDef.

VPSlotTracker has been updated to iterate over all recipes and all
their defined values to number those. There is no need to number
values in Value2VPValue.

It also updates a few places that only used slot numbers for
VPInstruction. All recipes now can produce numbered VPValues.




More information about the All-commits mailing list