[all-commits] [llvm/llvm-project] ecea83: [TargetLibraryInfo] Use std::move (NFC) (#95671)

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sat Jun 15 14:03:03 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ecea8371ff03c15fb3dc27ee4108b98335fd2d63
      https://github.com/llvm/llvm-project/commit/ecea8371ff03c15fb3dc27ee4108b98335fd2d63
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetLibraryInfo.h

  Log Message:
  -----------
  [TargetLibraryInfo] Use std::move (NFC) (#95671)

The std::move here saves 0.11% of heap allocations during the
compilation of a large preprocessed file, namely X86ISelLowering.cpp,
for the X86 target.



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