[ModuloSchedule] Allow illegal phis to be moved across stages.
authorHendrik Greving <hgreving@google.com>
Thu, 28 May 2020 00:12:58 +0000 (17:12 -0700)
committerHendrik Greving <hgreving@google.com>
Fri, 29 May 2020 14:01:27 +0000 (07:01 -0700)
commitd8f2814c913847b1d0e9167dce5973eea3600c7e
tree7c7496557eb5c9e443d33dc11974b35935df7f0a
parent9819976032c5af8d9109f2077e637c8303e4d6df
[ModuloSchedule] Allow illegal phis to be moved across stages.

Fixes a trivial but impactful bug where we did not move illegal phis across stages. This
led to incorrect mappings in certain cases.
llvm/lib/CodeGen/ModuloSchedule.cpp