[PATCH] D95382: [VPlan] Make VPBlockBase a VPUser.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 25 11:43:38 PST 2021
fhahn created this revision.
fhahn added reviewers: Ayal, gilr.
Herald added subscribers: tschuett, psnobl, rogfer01, bollu, hiraditya.
fhahn requested review of this revision.
Herald added a subscriber: vkmr.
Herald added a project: LLVM.
VP blocks keep track of a condition, which is a VPValue. This patch
updates VPBlockBase to manage the value as a VPUser, so
replaceAllUsesWith properly updates the condition bit as well.
This is required to enable VP2VP transformations and it helps with
simplifying some of the code required to manage condition bits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D95382
Files:
llvm/lib/Transforms/Vectorize/VPlan.cpp
llvm/lib/Transforms/Vectorize/VPlan.h
llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
llvm/lib/Transforms/Vectorize/VPlanValue.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95382.319074.patch
Type: text/x-patch
Size: 6749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210125/1ab43a73/attachment.bin>
More information about the llvm-commits
mailing list