[all-commits] [llvm/llvm-project] 8ed129: [MachineCopyPropagation] Make a SmallVector larger...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Tue Jan 23 09:27:30 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ed1291d96eaf230ce289c9e62d28df3851d4372
      https://github.com/llvm/llvm-project/commit/8ed1291d96eaf230ce289c9e62d28df3851d4372
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-01-23 (Tue, 23 Jan 2024)

  Changed paths:
    M llvm/lib/CodeGen/MachineCopyPropagation.cpp

  Log Message:
  -----------
  [MachineCopyPropagation] Make a SmallVector larger (NFC) (#79106)

This patch makes a SmallVector slightly larger.  We encounter quite a
few instructions with 3 or 4 defs but very few beyond that on X86.

This saves 0.39% 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