This is an archive of the discontinued LLVM Phabricator instance.

[Inliner] Handle `mustprogress` functions
AbandonedPublic

Authored by atmnpatel on Oct 8 2020, 6:24 PM.

Details

Reviewers
None
Summary

When inlining mustprogress functions, if the caller or the callee has
the attribute, we drop the function attribute. The loops that have the
llvm.loop.mustprogress metadata keep their metadata. We do not need to
add new loop metadata to inlined functions because the patch in D86841
already adds the relevant loop metadata in all of the necessary places.

Diff Detail

Event Timeline

atmnpatel created this revision.Oct 8 2020, 6:24 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 8 2020, 6:24 PM
atmnpatel requested review of this revision.Oct 8 2020, 6:24 PM
atmnpatel abandoned this revision.Oct 8 2020, 6:24 PM