[PATCH] D87262: [Inliner] Apply llvm.loop.mustprogress to caller loops

Atmn Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 13 17:52:47 PDT 2020


atmnpatel updated this revision to Diff 291481.
atmnpatel added a comment.

Flipped directions, now it gives the callee loops `llvm.loop.mustprogress` if a `mustprogress` function is being inlined.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87262

Files:
  llvm/include/llvm/Analysis/LoopInfo.h
  llvm/include/llvm/Transforms/Utils/Cloning.h
  llvm/lib/Analysis/LoopInfo.cpp
  llvm/lib/Transforms/IPO/Inliner.cpp
  llvm/lib/Transforms/Utils/InlineFunction.cpp
  llvm/test/Transforms/Inline/inlined-mustprogress-loop-metadata.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87262.291481.patch
Type: text/x-patch
Size: 23331 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200914/5167f7b7/attachment.bin>


More information about the llvm-commits mailing list