[all-commits] [llvm/llvm-project] 34c2dc: [VPlan] Move initial skeleton construction to crea...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Nov 12 05:01:44 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 34c2dcd5ac26fe4e8313091131341de7945441ea
      https://github.com/llvm/llvm-project/commit/34c2dcd5ac26fe4e8313091131341de7945441ea
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-11-12 (Sun, 12 Nov 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
    M llvm/test/Transforms/LoopVectorize/vplan-printing-outer-loop.ll
    M llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp

  Log Message:
  -----------
  [VPlan] Move initial skeleton construction to createInitialVPlan. (NFC)

This patch moves creating the  middle VPBBs and an initial empty
vector loop region for the top-level loop to createInitialVPlan.

This consolidates code to create the initial VPlan skeleton and enables
adding other bits outside the main region during initial VPlan
construction. In particular, D150398 will add the exit check & branch to
the middle block.

Reviewed By: Ayal

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




More information about the All-commits mailing list