[PATCH] D53431: clang appears not to respect __attribute__((noinline))
Christian Bruel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 5 00:48:05 PST 2018
chrib added a comment.
actually optnone is not well adapted here, since it demotes local optimizations on the functions, but we still want to keep scalar or target optimisations to be applied, but not interprocedural optimisations.
so maybe a new attribute , e.g __((noglobalopt)__ would be useful to exclude an object from all global optimizations (dfe, dve, global constant prop, ...). Do you think it is worth to make a proposal ?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D53431/new/
https://reviews.llvm.org/D53431
More information about the llvm-commits
mailing list