[all-commits] [llvm/llvm-project] a74a86: [TargetLibraryInfo] Use the default move construct...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sun Jun 16 00:25:24 PDT 2024


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

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

  Log Message:
  -----------
  [TargetLibraryInfo] Use the default move constructor/assignment operator (#95685)

commit ecea8371ff03c15fb3dc27ee4108b98335fd2d63
  Author: Kazu Hirata <kazu at google.com>
  Date:   Sat Jun 15 14:02:42 2024 -0700

added std::move to the move constructor and assignment operator, but
we can just use = default to have the compiler to generate them.

As expected, the number of heap allocations is virtually unchanged.



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