always_inline foo() { } bar () { noinline foo(); }
We should prefer call site attribute over attribute on decl. This is fix for AlwaysInliner, similar fix is needed for normal Inliner (follow up).
Related to https://reviews.llvm.org/D119061
Paths
| Differential D119553
[AlwaysInliner] Respect noinline call site attribute ClosedPublic Authored by xbolva00 on Feb 11 2022, 9:02 AM.
Details
Summary always_inline foo() { } bar () { noinline foo(); } We should prefer call site attribute over attribute on decl. This is fix for AlwaysInliner, similar fix is needed for normal Inliner (follow up). Related to https://reviews.llvm.org/D119061
Diff Detail
Unit TestsFailed Event TimelineThis revision is now accepted and ready to land.Feb 11 2022, 9:08 AM This revision was landed with ongoing or failed builds.Feb 11 2022, 10:23 AM Closed by commit rGd828281e7860: [AlwaysInliner] Respect noinline call site attribute (authored by xbolva00). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 407902 llvm/lib/Transforms/IPO/AlwaysInliner.cpp
llvm/test/Transforms/Inline/always-inline.ll
|