[all-commits] [llvm/llvm-project] b79bb2: Bypass setup for complete local DeclContext lookups
Mehdi Amini via All-commits
all-commits at lists.llvm.org
Fri Sep 11 01:39:53 PDT 2026
Branch: refs/heads/users/mamini/clang-speed-declcontext-lookup
Home: https://github.com/llvm/llvm-project
Commit: b79bb2af2d2216e6def1e2d8e4d0adbfff00339b
https://github.com/llvm/llvm-project/commit/b79bb2af2d2216e6def1e2d8e4d0adbfff00339b
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2026-09-11 (Fri, 11 Sep 2026)
Changed paths:
M clang/lib/AST/DeclBase.cpp
Log Message:
-----------
Bypass setup for complete local DeclContext lookups
Query an existing complete local lookup map directly. Preserve the full
primary-context and external-source path whenever lazy or external storage
can affect the result.
CTMark O0 (3 samples, CPU 6): 29.439800 s -> 29.268133 s (-0.583%).
Impact on significant TUs in MLIR build time:
- `mlir/lib/RegisterAllDialects.cpp`: 1.3266% fewer retired
instructions.
- `mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp`: 0.4887% fewer retired
instructions.
Assisted-by: Codex
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