aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
diff options
context:
space:
mode:
authorJohn Brawn <john.brawn@arm.com>2025-01-17 15:06:18 +0000
committerGitHub <noreply@github.com>2025-01-17 15:06:18 +0000
commitedf3a55bcecc8b0441a7a5fe6bda2023f86667a3 (patch)
tree2f23ec82ccad5f2fe6e592fbe76d065a48c27825 /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
parenta4d45fe8462bf7042bac2edfb87e3e41e4156ba4 (diff)
downloadllvm-edf3a55bcecc8b0441a7a5fe6bda2023f86667a3.zip
llvm-edf3a55bcecc8b0441a7a5fe6bda2023f86667a3.tar.gz
llvm-edf3a55bcecc8b0441a7a5fe6bda2023f86667a3.tar.bz2
[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.
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions