This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][NFC] Return instruction list from createInstrIncMemory
ClosedPublic

Authored by Amir on Mar 6 2023, 9:04 PM.

Details

Summary

Leverage move semantics for std::vector.

This also makes it consistent with createInstrumentationSnippet.

Diff Detail

Event Timeline

Amir created this revision.Mar 6 2023, 9:04 PM
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Amir requested review of this revision.Mar 6 2023, 9:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 6 2023, 9:04 PM
Amir edited the summary of this revision. (Show Details)Mar 6 2023, 9:07 PM
yota9 added a subscriber: Elvina.

@Elvina Please check :)
LGTM

Amir retitled this revision from [BOLT][NFC] Return instruction list from createInstrumentationSnippet to [BOLT][NFC] Return instruction list from createInstrIncMemory.Mar 7 2023, 11:48 AM
Amir edited the summary of this revision. (Show Details)
Elvina accepted this revision.Mar 12 2023, 7:23 PM

LGTM

This revision is now accepted and ready to land.Mar 12 2023, 7:23 PM