[all-commits] [llvm/llvm-project] 223ec2: [BOLT][NFC] Return instruction list from createIns...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Mon Mar 13 12:56:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 223ec28da44fe673c3318deffc27f08733bcd7d1
      https://github.com/llvm/llvm-project/commit/223ec28da44fe673c3318deffc27f08733bcd7d1
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2023-03-13 (Mon, 13 Mar 2023)

  Changed paths:
    M bolt/include/bolt/Core/MCPlusBuilder.h
    M bolt/lib/Passes/Instrumentation.cpp
    M bolt/lib/Target/X86/X86MCPlusBuilder.cpp

  Log Message:
  -----------
  [BOLT][NFC] Return instruction list from createInstrIncMemory

Leverage move semantics for `std::vector`.

This also makes it consistent with `createInstrumentationSnippet`.

Reviewed By: Elvina

Differential Revision: https://reviews.llvm.org/D145465




More information about the All-commits mailing list