[all-commits] [llvm/llvm-project] 6b7065: [mlir] Reuse a precompiled header for MLIRIR (NFC)...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Thu Sep 10 07:21:15 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b706509f983459f43708c42f80ec2f152a4cc42
      https://github.com/llvm/llvm-project/commit/6b706509f983459f43708c42f80ec2f152a4cc42
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2026-09-10 (Thu, 10 Sep 2026)

  Changed paths:
    A mlir/include/mlir/IR/pch.h
    M mlir/lib/CMakeLists.txt
    M mlir/lib/IR/CMakeLists.txt
    M mlir/lib/Tools/mlir-lsp-server/LSPServer.cpp

  Log Message:
  -----------
  [mlir] Reuse a precompiled header for MLIRIR (NFC) (#222576)

Build a private precompiled header from the common MLIR IR headers and
use it for MLIRIR. Build Support and IR first so the PCH is available
early, and qualify the LLVM LSP Location name that the broader header
surface exposes.

On current main, clean Release builds of LLVM and MLIR with `ninja -j16`
improved as follows:

```
  wall:   535.99s -> 420.41s (-21.56%)
  user:  7550.29s -> 6125.97s (-18.86%)
  system: 569.85s -> 481.88s (-15.44%)
```

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