This is an archive of the discontinued LLVM Phabricator instance.

CGP: Clear data structures at the end of a loop iteration instead of the beginning.
ClosedPublic

Authored by pcc on Oct 19 2018, 5:40 PM.

Details

Summary

Clearing LargeOffsetGEPMap at the end fixes a bug where if a large
offset GEP is in a dead basic block, we fail an assertion when trying
to delete the block due to the asserting VH in LargeOffsetGEPMap.

Diff Detail

Repository
rL LLVM

Event Timeline

pcc created this revision.Oct 19 2018, 5:40 PM
This revision is now accepted and ready to land.Oct 23 2018, 12:00 PM
This revision was automatically updated to reflect the committed changes.