[all-commits] [llvm/llvm-project] 8ea274: [VPlan] Fix in-loop reduction chains using VPlan d...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Wed Aug 2 09:05:44 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8ea274b46beb01756c2b26743fa165d3cbdeb355
https://github.com/llvm/llvm-project/commit/8ea274b46beb01756c2b26743fa165d3cbdeb355
Author: Florian Hahn <flo at fhahn.com>
Date: 2023-08-02 (Wed, 02 Aug 2023)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
Log Message:
-----------
[VPlan] Fix in-loop reduction chains using VPlan def-use chains (NFCI)
Update adjustRecipesForReductions to directly use the VPlan def-use
chains for in-loop reductions to collect the reduction operations that
need adjusting.
This allows the removal of
* ReductionChainMap
* recording of recipes for instruction in the reduction chain
* removes late uses of getVPValue
* removes to need for removeVPValueFor.
Reviewed By: Ayal
Differential Revision: https://reviews.llvm.org/D155845
More information about the All-commits
mailing list