[PATCH] D132288: [TTI] Improve description of TargetCostKind enums to aid targets in choosing cost values
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 2 03:09:26 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG7338f9709bba: [TTI] Improve description of TargetCostKind enums to aid targets in choosing… (authored by RKSimon).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132288/new/
https://reviews.llvm.org/D132288
Files:
llvm/include/llvm/Analysis/TargetTransformInfo.h
Index: llvm/include/llvm/Analysis/TargetTransformInfo.h
===================================================================
--- llvm/include/llvm/Analysis/TargetTransformInfo.h
+++ llvm/include/llvm/Analysis/TargetTransformInfo.h
@@ -212,6 +212,8 @@
///
/// There are several different cost models that can be customized by the
/// target. The normalization of each cost model may be target specific.
+ /// e.g. TCK_SizeAndLatency should be comparable to target thresholds such as
+ /// those derived from MCSchedModel::LoopMicroOpBufferSize etc.
enum TargetCostKind {
TCK_RecipThroughput, ///< Reciprocal throughput.
TCK_Latency, ///< The latency of instruction.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132288.457548.patch
Type: text/x-patch
Size: 696 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220902/34ffea0e/attachment.bin>
More information about the llvm-commits
mailing list