This is an archive of the discontinued LLVM Phabricator instance.

[WholeProgramDevirt] Don't process declarations when building type id map
ClosedPublic

Authored by evgeny777 on Sep 17 2018, 8:14 AM.

Details

Summary

IRMover can sometimes copy GV attributes, but not initialiser. In particular this happens when GV is marked dead in combined summary.

Diff Detail

Repository
rL LLVM

Event Timeline

evgeny777 created this revision.Sep 17 2018, 8:14 AM
asl added a subscriber: asl.Sep 17 2018, 1:42 PM
tejohnson accepted this revision.Sep 19 2018, 8:28 AM

In your summary, I think you mean it can copy metadata (not attributes)?

Otherwise LGTM

This revision is now accepted and ready to land.Sep 19 2018, 8:28 AM
This revision was automatically updated to reflect the committed changes.