[PATCH] D85586: Force Function Attributes
Kyungwoo Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 8 12:59:24 PDT 2020
kyulee created this revision.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
kyulee requested review of this revision.
`-force-attribute` adds an attribute to function via command-line.
However, there was no counter-part to remove an attribute.
Instead, this patch allows the following flags either add or remove an attribute.
- `-force-add-attribute`
- `-force-remove-attribute`
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D85586
Files:
llvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp
llvm/test/Transforms/ForcedFunctionAttrs/forced.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85586.284143.patch
Type: text/x-patch
Size: 5123 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200808/f5de8f59/attachment.bin>
More information about the llvm-commits
mailing list