[VPlan] Remove unused native utilities incompatible with nested regions.
authorFlorian Hahn <flo@fhahn.com>
Wed, 1 Jun 2022 08:32:59 +0000 (09:32 +0100)
committerFlorian Hahn <flo@fhahn.com>
Wed, 1 Jun 2022 08:32:59 +0000 (09:32 +0100)
commitd157019482e19b33b4348f315692385c0ace4a61
treeebfc374ef7626c24469ef73ea3281dce8aab0128
parent7e2afe83e88d5d50c878492f27c69c6850e31582
[VPlan] Remove unused native utilities incompatible with nested regions.

The implementations of VPlanDominatorTree, VPlanLoopInfo and VPlanPredicator
are all incompatible with modeling loops in VPlans as region without
explicit back-edges.

Those pieces are not actively used and only exercised by a few gtest
unit tests. They are at the moment blocking progress towards unifying
the native and inner-loop vectorizer paths in D121624 and D123005.

I think we should not block forward progress on unused pieces of code,
so this patch removes the utilities for now. The plan is to re-introduce
them as needed in a way that is compatible with the unified VPlan scheme
used in both the inner loop vectorizer and the native path.

Reviewed By: sguggill

Differential Revision: https://reviews.llvm.org/D123017
13 files changed:
llvm/lib/Transforms/Vectorize/CMakeLists.txt
llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/lib/Transforms/Vectorize/VPlan.h
llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
llvm/lib/Transforms/Vectorize/VPlanLoopInfo.h [deleted file]
llvm/lib/Transforms/Vectorize/VPlanPredicator.cpp [deleted file]
llvm/lib/Transforms/Vectorize/VPlanPredicator.h [deleted file]
llvm/unittests/Transforms/Vectorize/CMakeLists.txt
llvm/unittests/Transforms/Vectorize/VPlanDominatorTreeTest.cpp [deleted file]
llvm/unittests/Transforms/Vectorize/VPlanLoopInfoTest.cpp [deleted file]
llvm/unittests/Transforms/Vectorize/VPlanPredicatorTest.cpp [deleted file]
llvm/unittests/Transforms/Vectorize/VPlanTest.cpp