This is an archive of the discontinued LLVM Phabricator instance.

[Assignment Tracking][NFC] Reuse BlockInfo rather than re-allocating each iteration
AbandonedPublic

Authored by Orlando on Mar 7 2023, 8:37 AM.

Details

Summary

This has a slight positive impact on the CTMark project compile times.

Diff Detail

Event Timeline

Orlando created this revision.Mar 7 2023, 8:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 7 2023, 8:37 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
Orlando requested review of this revision.Mar 7 2023, 8:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 7 2023, 8:37 AM
Orlando updated this revision to Diff 503065.Mar 7 2023, 8:38 AM

Format and add context.

Orlando retitled this revision from [Assignment Tracking][NFC] Reuse BlockInfo rather than re-allocating each in iteration to [Assignment Tracking][NFC] Reuse BlockInfo rather than re-allocating each iteration.Mar 7 2023, 8:39 AM
jryans accepted this revision.Mar 13 2023, 9:12 AM
jryans added a subscriber: jryans.

Seems reasonable, thanks! 😄

This revision is now accepted and ready to land.Mar 13 2023, 9:12 AM
scott.linder added inline comments.Mar 14 2023, 3:55 PM
llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
1758

When Join aliases A this will clear A, is that intended?

1822

What is this std::move for? Was there a version which accepted an rvalue-reference at some point?

Orlando abandoned this revision.Mar 16 2023, 4:24 AM

Thanks both. @scott.linder yep I definitely missed something with this one and it doesn't do what I wanted it do. I will abandon this one.