[PATCH] D79581: [ModuloSchedule] Fix epilogue peeling with illegal phi.

Thomas Raoux via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 7 09:05:17 PDT 2020


ThomasRaoux created this revision.
ThomasRaoux added reviewers: jmolloy, hgreving.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
hgreving accepted this revision.
hgreving added a comment.
This revision is now accepted and ready to land.

LGTM!


When peeling out the epilogue we need to ignore illegal phis coming from stages greater than the producer stage. Otherwise we end up with circular phi dependencies.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79581

Files:
  llvm/include/llvm/CodeGen/ModuloSchedule.h
  llvm/lib/CodeGen/ModuloSchedule.cpp
  llvm/test/CodeGen/Hexagon/swp-epilog-phi13.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79581.262669.patch
Type: text/x-patch
Size: 4177 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200507/705a0d2f/attachment.bin>


More information about the llvm-commits mailing list