[all-commits] [llvm/llvm-project] b1ef91: [ARM] Add CostKind to getMVEVectorCostFactor.
David Green via All-commits
all-commits at lists.llvm.org
Thu Feb 11 07:34:32 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b1ef919aada5217b7111433959399b73b3547293
https://github.com/llvm/llvm-project/commit/b1ef919aada5217b7111433959399b73b3547293
Author: David Green <david.green at arm.com>
Date: 2021-02-11 (Thu, 11 Feb 2021)
Changed paths:
M llvm/lib/Target/ARM/ARMSubtarget.h
M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/ARM/arith-ssat.ll
M llvm/test/Analysis/CostModel/ARM/arith-usat.ll
M llvm/test/Analysis/CostModel/ARM/cast.ll
M llvm/test/Analysis/CostModel/ARM/cast_ldst.ll
Log Message:
-----------
[ARM] Add CostKind to getMVEVectorCostFactor.
This adds the CostKind to getMVEVectorCostFactor, so that it can
automatically account for CodeSize costs, where it returns a cost of 1
not the MVEFactor used for Throughput/Latency. This helps simplify the
caller code and allows us to get the codesize cost more correct in more
cases.
More information about the All-commits
mailing list