[all-commits] [llvm/llvm-project] 1605bf: [ConstraintElimination] Use std::move in the const...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Wed Jan 24 09:19:10 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1605bf58151bc357780fee5553beee2b404772a7
      https://github.com/llvm/llvm-project/commit/1605bf58151bc357780fee5553beee2b404772a7
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-01-24 (Wed, 24 Jan 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp

  Log Message:
  -----------
  [ConstraintElimination] Use std::move in the constructor (NFC) (#79259)

Moving the contents of Coefficients saves 0.43% of heap allocations
during the compilation of a large preprocessed file, namely
X86ISelLowering.cpp, for the X86 target.




More information about the All-commits mailing list