[PATCH] D93694: [MachineLICM][MachineSink] Move SinkIntoLoop from MachineLICM to MachineSink

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 19 05:30:18 PST 2021


SjoerdMeijer updated this revision to Diff 317537.
SjoerdMeijer added a comment.

- Added statistics `NumLoopSunk`, the number of instructions sunk into a loop
- Check that a use of candidate is in a loop,
- Added a bunch of negative tests.


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

https://reviews.llvm.org/D93694

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93694.317537.patch
Type: text/x-patch
Size: 35836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210119/3bb5841f/attachment.bin>


More information about the llvm-commits mailing list