[PATCH] D75175: [CallSiteInfo] Enable the call site info only for -g + optimizations
Djordje Todorovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 6 02:12:31 PST 2020
djtodoro marked an inline comment as done.
djtodoro added a comment.
@aprantl Thanks!
================
Comment at: llvm/include/llvm/CodeGen/CommandFlags.inc:282
+ "in optimized code, so it will be enabled only in the case of "
+ "'-g' + 'O>0' level."),
+ cl::init(false));
----------------
aprantl wrote:
> Again, this text can't be in LLVM since it is Clang's decision when to enable this. (At least I'm assuming that it is Clang :-). A different fronted could conceivably make different choices.
Yes.. some frontends could have benefits of this even with -O0.. I am moving that into clang's part :)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75175/new/
https://reviews.llvm.org/D75175
More information about the llvm-commits
mailing list