[all-commits] [llvm/llvm-project] 3e806c: [NFC] Use references to avoid copying (#99863)

Pratyay Pande via All-commits all-commits at lists.llvm.org
Fri Aug 9 05:33:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3e806c827ea367e46b835820a6c8842bafc06295
      https://github.com/llvm/llvm-project/commit/3e806c827ea367e46b835820a6c8842bafc06295
  Author: Pratyay Pande <pratyay.pande at intel.com>
  Date:   2024-08-09 (Fri, 09 Aug 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineInstrBuilder.h
    M llvm/lib/CodeGen/MachineInstr.cpp
    M llvm/lib/CodeGen/RegAllocFast.cpp

  Log Message:
  -----------
  [NFC] Use references to avoid copying (#99863)

Modifying `auto` to `auto&` to avoid unnecessary copying



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list