[all-commits] [llvm/llvm-project] edf3a5: [LoopVectorize][NFC] Centralize the setting of Cos...
John Brawn via All-commits
all-commits at lists.llvm.org
Fri Jan 17 07:06:40 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: edf3a55bcecc8b0441a7a5fe6bda2023f86667a3
https://github.com/llvm/llvm-project/commit/edf3a55bcecc8b0441a7a5fe6bda2023f86667a3
Author: John Brawn <john.brawn at arm.com>
Date: 2025-01-17 (Fri, 17 Jan 2025)
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/VPlanRecipes.cpp
Log Message:
-----------
[LoopVectorize][NFC] Centralize the setting of CostKind (#121937)
In each class which calculates instruction costs (VPCostContext,
LoopVectorizationCostModel, GeneratedRTChecks) set the CostKind once in
the constructor instead of in each function that calculates a cost. This
is in preparation for potentially changing the CostKind when compiling
for optsize.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list