This is an archive of the discontinued LLVM Phabricator instance.

Fix assert in pipeliner due to an invalid Phi in the epilog
ClosedPublic

Authored by bcahoon on Aug 15 2016, 8:54 AM.

Details

Summary

The pipeliner was generating an invalid Phi name for an operand in the epilog block, which caused an assert in the live variable analysis pass. The fix is to the code that generates new Phis in the epilog block. In this case, there is an existing Phi that needs to be reused rather than creating a new Phi instruction.

Diff Detail

Repository
rL LLVM

Event Timeline

bcahoon updated this revision to Diff 68041.Aug 15 2016, 8:54 AM
bcahoon retitled this revision from to Fix assert in pipeliner due to an invalid Phi in the epilog.
bcahoon updated this object.
bcahoon added a reviewer: kparzysz.
bcahoon added a subscriber: llvm-commits.
kparzysz accepted this revision.Aug 15 2016, 10:48 AM
kparzysz edited edge metadata.
This revision is now accepted and ready to land.Aug 15 2016, 10:48 AM
This revision was automatically updated to reflect the committed changes.