[all-commits] [llvm/llvm-project] 46a29e: [Inliner] Handle `mustprogress` functions
Atmn Patel via All-commits
all-commits at lists.llvm.org
Fri Nov 6 17:04:09 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 46a29e9c6e7f22831633e159839fcb8c2118176c
https://github.com/llvm/llvm-project/commit/46a29e9c6e7f22831633e159839fcb8c2118176c
Author: Atmn Patel <a335pate at uwaterloo.ca>
Date: 2020-11-06 (Fri, 06 Nov 2020)
Changed paths:
M llvm/include/llvm/IR/Attributes.td
A llvm/test/Transforms/Inline/inlined-mustprogress-loop-metadata.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list