This is an archive of the discontinued LLVM Phabricator instance.

[VPlan] Remove unused native utilities incompatible with nested regions.
ClosedPublic

Authored by fhahn on Apr 4 2022, 2:45 AM.

Details

Summary

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.

Diff Detail

Event Timeline

fhahn created this revision.Apr 4 2022, 2:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2022, 2:45 AM
fhahn requested review of this revision.Apr 4 2022, 2:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2022, 2:45 AM
Herald added a subscriber: vkmr. · View Herald Transcript
sguggill accepted this revision.Apr 7 2022, 9:14 PM

LGTM. Thanks Florian!

This revision is now accepted and ready to land.Apr 7 2022, 9:14 PM
fhahn updated this revision to Diff 432752.May 28 2022, 1:30 PM

Rebased, I am planning to commit this soon.

This revision was landed with ongoing or failed builds.Jun 1 2022, 1:33 AM
This revision was automatically updated to reflect the committed changes.
llvm/unittests/Transforms/Vectorize/VPlanLoopInfoTest.cpp