[all-commits] [llvm/llvm-project] a17f8f: [InstCombine] Use more inline elements in a SmallV...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sun Jul 28 13:20:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a17f8fe7d46e1708331df2dec733203de356b0cf
      https://github.com/llvm/llvm-project/commit/a17f8fe7d46e1708331df2dec733203de356b0cf
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-28 (Sun, 28 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp

  Log Message:
  -----------
  [InstCombine] Use more inline elements in a SmallVector (#100942)

The 4 inline elements only cover 58% of cases encountered here during
the compilation of X86ISelLowering.cpp.ll, a .ll version of
X86ISelLowering.cpp.

The 8 inline elements cover 96% and save 0.27% of heap allocations.



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