[all-commits] [llvm/llvm-project] daaa0e: [VPlan] Manage induction value creation using VPVa...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Wed Feb 3 09:46:39 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: daaa0e35012758121be5e97389735b1b82feb38b
https://github.com/llvm/llvm-project/commit/daaa0e35012758121be5e97389735b1b82feb38b
Author: Florian Hahn <flo at fhahn.com>
Date: 2021-02-03 (Wed, 03 Feb 2021)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
Log Message:
-----------
[VPlan] Manage induction value creation using VPValues.
This patch updates the induction value creation to use VPValues of
recipes to map the created values. This should bring is one step closer
to being able to optimize induction recipes directly in VPlan.
Currently widenIntOrFpInduction also generates vector values for a cast
of the induction, if it exists. Make this explicit by adding the cast
instruction to the values defined by the recipe.
Reviewed By: gilr
Differential Revision: https://reviews.llvm.org/D92284
More information about the All-commits
mailing list