[PATCH] D106351: [CostModel] Templatize EntryCost::Cost to allow custom cost metrics

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 20 03:19:04 PDT 2021


RKSimon added inline comments.


================
Comment at: llvm/include/llvm/CodeGen/CostTable.h:24
 /// Cost Table Entry
-struct CostTblEntry {
+template <typename CostKind>
+struct CostTblEntryT {
----------------
oops - I forgot to update all of these to CostType to avoid confusion with TargetCostKind - will fix shortly


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106351/new/

https://reviews.llvm.org/D106351



More information about the llvm-commits mailing list