diff options
author | Florian Hahn <flo@fhahn.com> | 2025-07-01 20:44:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-01 20:44:50 +0100 |
commit | 6b3d2b629cc3805d483ec4522cc97e2540070ae1 (patch) | |
tree | 3b9f8b57f30fa5c0d55b665991d1953d27b3033f /clang/lib/Basic/SourceManager.cpp | |
parent | 7da8ed8d339a06e1dcef4be2eb3b532f833ae6b2 (diff) | |
download | llvm-6b3d2b629cc3805d483ec4522cc97e2540070ae1.zip llvm-6b3d2b629cc3805d483ec4522cc97e2540070ae1.tar.gz llvm-6b3d2b629cc3805d483ec4522cc97e2540070ae1.tar.bz2 |
[VPlan] Add VPExpressionRecipe, replacing extended reduction recipes. (#144281)
This patch adds a new recipe to combine multiple recipes into an
'expression' recipe, which should be considered as single entity for
cost-modeling and transforms. The recipe needs to be 'decomposed', i.e.
replaced by its individual recipes before execute.
This subsumes VPExtendedReductionRecipe and
VPMulAccumulateReductionRecipe and should make it easier to extend to
include more types of bundled patterns, like e.g. extends folded into
loads or various arithmetic instructions, if supported by the target.
It allows avoiding re-creating the original recipes when converting to
concrete recipes, together with removing the need to record various
information. The current version of the patch still retains the original
printing matching VPExtendedReductionRecipe and
VPMulAccumulateReductionRecipe, but this specialized print could be
replaced with printing the bundled recipes directly.
PR: https://github.com/llvm/llvm-project/pull/144281
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions