This is an archive of the discontinued LLVM Phabricator instance.

[MemorySSA] Add all MemoryPhis before filling their values.
ClosedPublic

Authored by asbirlea on Jun 14 2019, 12:08 PM.

Details

Summary

Add all MemoryPhis in IDF before filling in their incomign values.
Otherwise, a new Phi can be added that needs to become the incoming
value of another Phi.
Test fails the verification in verifyPrevDefInPhis.

Diff Detail

Repository
rL LLVM

Event Timeline

asbirlea created this revision.Jun 14 2019, 12:08 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 14 2019, 12:08 PM
This revision is now accepted and ready to land.Jun 14 2019, 8:22 PM
This revision was automatically updated to reflect the committed changes.