[PATCH] D100176: [VPlan] Use recursive traversal iterator in VPSlotTracker.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 9 04:01:27 PDT 2021
fhahn created this revision.
fhahn added reviewers: gilr, Ayal, sguggill, a.elovikov, rengolin.
Herald added subscribers: tschuett, psnobl, rogfer01, bollu, hiraditya.
fhahn requested review of this revision.
Herald added a subscriber: vkmr.
Herald added a project: LLVM.
This patch simplifies VPSlotTracker by using the recursive traversal
iterator to traverse all blocks in a VPlan in reverse post-order when
numbering VPValues in a plan.
This depends on a fix to RPOT (D100169 <https://reviews.llvm.org/D100169>). It also extends the traversal
unit tests to check RPOT.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D100176
Files:
llvm/lib/Transforms/Vectorize/VPlan.cpp
llvm/lib/Transforms/Vectorize/VPlanValue.h
llvm/unittests/Transforms/Vectorize/VPlanTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100176.336386.patch
Type: text/x-patch
Size: 4045 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210409/ae207171/attachment.bin>
More information about the llvm-commits
mailing list