[all-commits] [llvm/llvm-project] 1a75fe: [mlir] Reuse the MLIRIR PCH through dependencies (...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Thu Sep 10 08:20:19 PDT 2026


  Branch: refs/heads/users/mamini/mlir-core-pch-dependency-reuse
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a75fe8517a4b9286094727f930c4f8934c14d0e
      https://github.com/llvm/llvm-project/commit/1a75fe8517a4b9286094727f930c4f8934c14d0e
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2026-09-10 (Thu, 10 Sep 2026)

  Changed paths:
    M llvm/cmake/modules/AddLLVM.cmake
    M mlir/cmake/modules/AddMLIR.cmake
    A mlir/test/lib/CMake/CMakeLists.txt
    A mlir/test/lib/CMake/Inputs/PCHOptOut.c
    A mlir/test/lib/CMake/Inputs/PCHOptOut.cpp
    M mlir/test/lib/CMakeLists.txt

  Log Message:
  -----------
  [mlir] Reuse the MLIRIR PCH through dependencies (NFC)

Track whether an MLIR library's link closure reaches MLIRIR and reuse the
MLIRIR PCH for those libraries. Preserve higher-priority local PCHs and add an
explicit opt-out for targets whose sources are incompatible with reuse.

Relative to the core and LLVM dialect PCH parent, clean Release builds of LLVM
and MLIR with Ninja -j16 pinned to CPUs 16-31 improved as follows:

  wall:   398.79s -> 386.47s (-3.09%)
  user:  5789.14s -> 5624.02s (-2.85%)
  system: 455.05s -> 438.45s (-3.65%)

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