[PATCH] D96485: [MachineSink] Add a loop sink limit

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 11 03:41:57 PST 2021


SjoerdMeijer created this revision.
SjoerdMeijer added reviewers: samparker, dmgreen, shchenz.
Herald added a subscriber: hiraditya.
SjoerdMeijer requested review of this revision.
Herald added a project: LLVM.

To make sure compile-times don't regress, add an option to restrict the number of instructions considered for sinking as alias analysis can be expensive and for the same reason also skip large blocks.


https://reviews.llvm.org/D96485

Files:
  llvm/lib/CodeGen/MachineSink.cpp
  llvm/test/CodeGen/AArch64/loop-sink-limit.mir
  llvm/test/CodeGen/AArch64/loop-sink.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96485.322940.patch
Type: text/x-patch
Size: 10581 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210211/00c800c8/attachment.bin>


More information about the llvm-commits mailing list