[all-commits] [llvm/llvm-project] 655c88: [VPlan] Add vp_depth_first_shallow + graph traits ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Jan 19 04:07:45 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 655c88ca3631c0f64fa187f0fe9ad0dae7273026
      https://github.com/llvm/llvm-project/commit/655c88ca3631c0f64fa187f0fe9ad0dae7273026
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlanCFG.h
    M llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp

  Log Message:
  -----------
  [VPlan] Add vp_depth_first_shallow + graph traits for wrapper(NFC)

This patch adds a new VPBlockShallowTraversalWrapper struct to
provide graph traits specialization that do not traverse through
VPRegionBlocks. This matches the behavior of the existing traits for
plain VPBlockBase and is a step before moving the graph traits for
VPBlockBase to traverse through VPRegionBlocks to enable cross region
support in VPDominatorTree.

Depends on D140511.

Reviewed By: Ayal

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




More information about the All-commits mailing list