[all-commits] [llvm/llvm-project] 81b343: [mlir][LLVM] Reuse a PCH for MLIRLLVMDialect (NFC)
Mehdi Amini via All-commits
all-commits at lists.llvm.org
Wed Sep 9 16:36:09 PDT 2026
Branch: refs/heads/users/mamini/mlir-llvm-pch
Home: https://github.com/llvm/llvm-project
Commit: 81b343fb9c047c130744e77e7c04885b715a5031
https://github.com/llvm/llvm-project/commit/81b343fb9c047c130744e77e7c04885b715a5031
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2026-09-09 (Wed, 09 Sep 2026)
Changed paths:
A mlir/include/mlir/Dialect/LLVMIR/pch.h
M mlir/lib/CMakeLists.txt
M mlir/lib/Dialect/LLVMIR/CMakeLists.txt
Log Message:
-----------
[mlir][LLVM] Reuse a PCH for MLIRLLVMDialect (NFC)
Build a private precompiled header from the LLVM dialect and LLVM IR headers
and use it for MLIRLLVMDialect. Build dialect libraries before conversions so
the PCH is available early and repeated parsing is avoided.
Relative to the MLIRIR PCH parent, clean Release builds of LLVM and MLIR with
Ninja -j16 pinned to CPUs 16-31 improved as follows:
wall: 420.41s -> 398.79s (-5.14%)
user: 6125.97s -> 5789.14s (-5.50%)
system: 481.88s -> 455.05s (-5.57%)
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