[all-commits] [llvm/llvm-project] 702e22: [clang] Reduce LateInstantiatedAttrVec vector defa...

Haojian Wu via All-commits all-commits at lists.llvm.org
Thu Jun 5 06:14:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 702e228249906d43687952d9a2f3d2f90d8024c6
      https://github.com/llvm/llvm-project/commit/702e228249906d43687952d9a2f3d2f90d8024c6
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2025-06-05 (Thu, 05 Jun 2025)

  Changed paths:
    M clang/include/clang/Sema/Sema.h

  Log Message:
  -----------
  [clang] Reduce LateInstantiatedAttrVec vector default size. (#142840)

This increases clang's template instantiation depths.

I can see 7% increase (1510 -> 1612 on my local machine) for the
`clang/test/SemaTemplate/instantiation-depth-default.cpp` case.

No performance regressions have been observed:
https://llvm-compile-time-tracker.com/compare.php?from=5f8cf33650c0c71119ecf81f07014329d9466d0d&to=05c2403b0f784325f5b88760ef43a15b6aaf4181&stat=instructions:u



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