[PATCH] D113224: [VPlan] Do not create dedicated latch block up front (WIP).
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 4 16:00:28 PDT 2021
fhahn created this revision.
fhahn added reviewers: Ayal, gilr, 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 updates VPlan execution to not create and rely on the latch
block of the vector loop existing before VPlan execution.
The patch introduces VPInstruction opcodes ICmpEQ and ExitBranch
to model compares with the canonical IV and the branch exiting the loop
directly in VPlan. This is all subject to change pending feedback.
It is still WIP because there are a few remaining test failures, but I'd
like to share it early so the general direction can be reviewed.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D113224
Files:
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/lib/Transforms/Vectorize/VPlan.cpp
llvm/lib/Transforms/Vectorize/VPlan.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113224.384896.patch
Type: text/x-patch
Size: 14568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211104/4f658e89/attachment.bin>
More information about the llvm-commits
mailing list