[PATCH] D159136: [VPlan] Update successors/predecessors of region blocks directly (NFC).

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 29 13:39:59 PDT 2023


fhahn created this revision.
fhahn added reviewers: Ayal, gilr, rengolin.
Herald added subscribers: StephenFan, tschuett, psnobl, rogfer01, bollu, hiraditya.
Herald added a project: All.
fhahn requested review of this revision.
Herald added subscribers: wangpc, vkmr.
Herald added a project: LLVM.

Update the logic to update the successors and predecessors of region
blocks directly. This adds special handling for header and latch blocks
in place, and removes the separate loop to fix up the region blocks.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D159136

Files:
  llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159136.554479.patch
Type: text/x-patch
Size: 9883 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230829/53ff52d1/attachment.bin>


More information about the llvm-commits mailing list