[PATCH] D82817: [llvm] Native size estimator for training -Oz inliner
David Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 10 09:05:40 PDT 2020
davidxl added inline comments.
================
Comment at: llvm/lib/Analysis/InlineSizeEstimatorAnalysis.cpp:270
+ int32_t *V = static_cast<int32_t *>(TF_TensorData(Evaluator->getInput()[0]));
+ Features.fillTensor(V);
+ auto ER = Evaluator->evaluate();
----------------
can this call be folded in to getFunctionFeatures? or this interface is expected to be used in other places?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82817/new/
https://reviews.llvm.org/D82817
More information about the llvm-commits
mailing list