This is an archive of the discontinued LLVM Phabricator instance.

[LoopSimplifyCFG] Fix inconsistency in blocks in loop markup
ClosedPublic

Authored by mkazantsev on Jan 24 2019, 3:22 AM.

Details

Summary

2nd part of D57095 with the same reason, just in another place. We never
fold branches that are not immediately in the current loop, but this check
is missing in IsEdgeLive As result, it may think that the edge in subloop is
dead while it's live. It's a pessimization in the current stance.

Diff Detail

Event Timeline

mkazantsev created this revision.Jan 24 2019, 3:22 AM
rupprecht accepted this revision.Jan 24 2019, 8:26 AM
This revision is now accepted and ready to land.Jan 24 2019, 8:26 AM
This revision was automatically updated to reflect the committed changes.