[PATCH] D121623: [LV] Remove unneeded createHeaderBranch.(NFCI)

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 14 10:18:07 PDT 2022


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

The only remaining use was to get the exit block of the loop. Instead of
relying on the loop, use ILV::LoopMiddleBlock directly to set
VPTransformState::CFG::LastBB.

Depends on D121621 <https://reviews.llvm.org/D121621>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121623

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121623.415147.patch
Type: text/x-patch
Size: 5616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220314/fb138644/attachment.bin>


More information about the llvm-commits mailing list