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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D79581
[ModuloSchedule] Fix epilogue peeling with illegal phi. ClosedPublic Authored by ThomasRaoux on May 7 2020, 8:36 AM.
Details Summary 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.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 7 2020, 8:41 AM Closed by commit rGdc26dec331b8: [ModuloSchedule] Fix epilogue peeling with illegal phi. (authored by ThomasRaoux). · Explain WhyMay 7 2020, 10:14 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 262687 llvm/include/llvm/CodeGen/ModuloSchedule.h
llvm/lib/CodeGen/ModuloSchedule.cpp
llvm/test/CodeGen/Hexagon/swp-epilog-phi13.ll
|