This is an archive of the discontinued LLVM Phabricator instance.

[SROA] Reuse existing lifetime markers if possible
ClosedPublic

Authored by jdoerfert on Oct 11 2019, 4:58 PM.

Details

Summary

If the underlying alloca did not change, we do not necessarily need new
lifetime markers. This patch adds a check and reuses the old ones if
possible.

Diff Detail

Event Timeline

jdoerfert created this revision.Oct 11 2019, 4:58 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 11 2019, 4:58 PM
arsenm accepted this revision.Oct 11 2019, 7:06 PM
arsenm added a subscriber: arsenm.

LGTM

This revision is now accepted and ready to land.Oct 11 2019, 7:06 PM
This revision was automatically updated to reflect the committed changes.