[PATCH] D155617: Pass to annotate functions with appropriate optimization level.
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 23 13:09:56 PDT 2023
aeubanks added a comment.
I think this hardcodes a bit too much about the `"opt-level"` attribute. I was hoping that we could make force-function-attrs generic enough without knowing specifically about opt-level.
e.g. the csv would look like
first_function,opt-level=O1
second_function,opt-level=O3
third_function,opt-level=O1
fourth_function,opt-level=O2
fifth_function,opt-level=O3
and it could contain other attributes like
second_function,cold
fifth_function,foo=bar
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155617/new/
https://reviews.llvm.org/D155617
More information about the llvm-commits
mailing list