This is an archive of the discontinued LLVM Phabricator instance.

[MemorySSA] Verify Phi incoming blocks are block predecessors.
ClosedPublic

Authored by asbirlea on Jun 19 2018, 1:40 PM.

Details

Summary

Make the MemorySSA verify also check that all Phi incoming blocks are block predecessors.

Diff Detail

Repository
rL LLVM

Event Timeline

asbirlea created this revision.Jun 19 2018, 1:40 PM

LGTM after a nit is fixed; thanks!

lib/Analysis/MemorySSA.cpp
1751 ↗(On Diff #151971)

nit: I think you can drop the llvm:: and just spell this find(.

This revision is now accepted and ready to land.Jun 19 2018, 5:35 PM
asbirlea marked an inline comment as done.Jun 20 2018, 1:48 PM

Thank you for the review!

This revision was automatically updated to reflect the committed changes.