[PATCH] D104810: [Inline] prevent inlining on noprofile mismatch

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 28 13:42:44 PDT 2021


MaskRay accepted this revision.
MaskRay added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/docs/LangRef.rst:1662
+    coverage or profile based optimization, from being added to a function,
+    even when inlined.
 ``noredzone``
----------------
For alwaysinline, I think the effect may be hazy. Dropping instrumentation is ok. To make alwaysinline take preference (the behavior of many other binary attributes), retaining instrumentation also looks ok.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104810/new/

https://reviews.llvm.org/D104810



More information about the llvm-commits mailing list