HomePhabricator

[ModuloSchedule] Fix a bug in experimental expander

Authored by ThomasR on Nov 14 2019, 9:55 AM.

Description

[ModuloSchedule] Fix a bug in experimental expander

Fix two problems that popped up after my last patch. One is that the
stiching of prologue/epilogue can be wrong when reading a value from a
previsou stage. Also changed how we duplicate phi instructions to avoid
generating extra phi that we delete later.

Differential Revision: https://reviews.llvm.org/D70213