Leverage move semantics for std::vector.
This also makes it consistent with createInstrumentationSnippet.
Paths
| Differential D145465
[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 TimelineAmir 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 This revision is now accepted and ready to land.Mar 12 2023, 7:23 PM Closed by commit rG223ec28da44f: [BOLT][NFC] Return instruction list from createInstrIncMemory (authored by Amir). · Explain WhyMar 13 2023, 12:56 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 504819 bolt/include/bolt/Core/MCPlusBuilder.h
bolt/lib/Passes/Instrumentation.cpp
bolt/lib/Target/X86/X86MCPlusBuilder.cpp
|