[PATCH] D158815: [opt] Add option to strip optnone attribute
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 25 11:15:43 PDT 2023
jdoerfert added a comment.
In D158815#4616377 <https://reviews.llvm.org/D158815#4616377>, @nikic wrote:
> It seems like `-force-remove-attribute` should be able to do this, but apparently it doesn't allow removing an attribute from all functions currently, only explicitly named ones. Maybe we should extend that?
^ seems reasonable and more generic. You often want to remove noinline as well, so there is the use case already
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158815/new/
https://reviews.llvm.org/D158815
More information about the llvm-commits
mailing list