[PATCH] D74445: [VPlan] Add ParentPlan pointer to VPBlockBase.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 11 14:31:44 PST 2020


fhahn created this revision.
fhahn added reviewers: rengolin, hsaito, fhahn, Ayal, dorit, gilr.
Herald added subscribers: psnobl, rogfer01, rkruppe, tschuett, bollu, hiraditya.
Herald added a project: LLVM.

This is mostly to help the VPSlotTracker in D73078 <https://reviews.llvm.org/D73078>. I would slightly prefer the ParentPlan to be a reference. I think that would be fine for all current uses, except that the tests in VPlanTest.cpp need updating . They are the only place that instantiates VPBasicBlocks without a VPlan.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74445

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/lib/Transforms/Vectorize/VPlan.h
  llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74445.244006.patch
Type: text/x-patch
Size: 6556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200211/89f6b9bf/attachment.bin>


More information about the llvm-commits mailing list