[PATCH] D53431: clang appears not to respect __attribute__((noinline))

Chandler Carruth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 22 13:09:17 PDT 2018


chandlerc requested changes to this revision.
chandlerc added a comment.
This revision now requires changes to proceed.

The intent of `noinline` in LLVM's IR is to block inlining, not all interprocedural optimizations. So I don't think this is actually a bug and don't think this patch should be applied.

We have an attribute to block optimizations: `optnone`.


https://reviews.llvm.org/D53431





More information about the llvm-commits mailing list