[PATCH] D85586: Force Function Attributes
Puyan Lotfi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 10 18:51:32 PDT 2020
plotfi added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp:22
-static cl::list<std::string>
- ForceAttributes("force-attribute", cl::Hidden,
- cl::desc("Add an attribute to a function. This should be a "
- "pair of 'function-name:attribute-name', for "
- "example -force-attribute=foo:noinline. This "
- "option can be specified multiple times."));
+static cl::list<std::string> ForceAddAttributes(
+ "force-add-attribute", cl::Hidden,
----------------
plotfi wrote:
> Hmm, do we care that we are changing the command line flag? Should -force-attribute imply -force-add-attribute?
@chandlerc Do you think -force-attribute should be preserved for any existing scripts or automation that may assume this?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85586/new/
https://reviews.llvm.org/D85586
More information about the llvm-commits
mailing list