This is an archive of the discontinued LLVM Phabricator instance.

[MemorySSA] When applying updates, clean unnecessary Phis.
ClosedPublic

Authored by asbirlea on Jun 7 2019, 4:06 PM.

Details

Summary

After applying a set of insert updates, there may be trivial Phis left over. Clean them up.

Diff Detail

Event Timeline

asbirlea created this revision.Jun 7 2019, 4:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 7 2019, 4:06 PM
Herald added subscribers: Prazek, jlebar. · View Herald Transcript

LGTM -- thanks!

Please also add a test before committing if doing so is reasonably possible. If the test is super convoluted, I'm OK with this as-is.

This revision is now accepted and ready to land.Jun 10 2019, 1:58 PM
This revision was automatically updated to reflect the committed changes.