HomePhabricator

[Inliner] Handle `mustprogress` functions

Authored by atmnpatel on Nov 5 2020, 9:10 PM.

Description

[Inliner] Handle mustprogress functions

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.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D87262

Details

Committed
atmnpatelNov 6 2020, 5:03 PM
Reviewer
jdoerfert
Differential Revision
D87262: [Inliner] Handle `mustprogress` functions
Parents
rG1ca7f055ad81: [test] -mtriple=x86_64-* -> -mtriple=x86_64
Branches
Unknown
Tags
Unknown