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

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 20 07:05:22 PDT 2021


ABataev accepted this revision.
ABataev added a comment.
This revision is now accepted and ready to land.

LGTM with a nit, unless there are no others comments



================
Comment at: llvm/include/llvm/CodeGen/CostTable.h:82
+inline const TypeConversionCostTblEntryT<CostType> *ConvertCostTableLookup(
+    const llvm::TypeConversionCostTblEntryT<CostType> (&Table)[N], int ISD,
+    MVT Dst, MVT Src) {
----------------
`llvm::`?


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