[PATCH] D87299: [IRSim][IROutliner] Adding a cost model, and debug option to turn the model off.
Jon Roelofs via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 10 14:55:12 PDT 2020
jroelofs added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/IROutliner.cpp:1544
+bool IROutliner::run(Module &M) {
+ CostModel = !NoCostModel;
+
----------------
What's the benefit from having this member variable as opposed to just reading the option directly where needed?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87299/new/
https://reviews.llvm.org/D87299
More information about the llvm-commits
mailing list