[PATCH] D93694: [MachineLICM] SinkIntoLoop: analyse successive store instructions

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 22 05:49:52 PST 2020


SjoerdMeijer created this revision.
SjoerdMeijer added reviewers: fhahn, dmgreen, djasper.
Herald added subscribers: asbirlea, hiraditya.
SjoerdMeijer requested review of this revision.
Herald added a project: LLVM.

This is a small step into improving sinking instruction into the loop. Currently, `DontMoveAcrossStore` is assumed, making this very pessimistic/conservative. So, this adds a check that the instruction to be sunken isn't followed by a store.


https://reviews.llvm.org/D93694

Files:
  llvm/lib/CodeGen/MachineLICM.cpp
  llvm/test/CodeGen/AArch64/machine-licm-sink-instr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93694.313310.patch
Type: text/x-patch
Size: 4213 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201222/d3b1b465/attachment.bin>


More information about the llvm-commits mailing list