This is an archive of the discontinued LLVM Phabricator instance.

[LiveDebugValues]Change condition for block termination recognition
ClosedPublic

Authored by NikolaPrica on Dec 29 2017, 2:46 AM.

Details

Summary

Last iterator of MBB should be recognized as MBB.end() not as MBB.instr_end() which could return bundled instruction that is not iterable with basic iterator.

Diff Detail

Repository
rL LLVM

Event Timeline

NikolaPrica created this revision.Dec 29 2017, 2:46 AM
aprantl accepted this revision.Jan 5 2018, 8:37 AM

Seems plausible. Thanks!

This revision is now accepted and ready to land.Jan 5 2018, 8:37 AM
davide accepted this revision.Jan 5 2018, 8:40 AM
davide added a subscriber: davide.

lgtm

This revision was automatically updated to reflect the committed changes.