[all-commits] [llvm/llvm-project] 5ff49e: [MLIR] Narrow generated-header prerequisites

Mehdi Amini via All-commits all-commits at lists.llvm.org
Wed Sep 9 08:16:16 PDT 2026


  Branch: refs/heads/users/mamini/mlir-narrow-header-prerequisites
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ff49e29bc9b34e4ecf9c0801f4832dc526fe27d
      https://github.com/llvm/llvm-project/commit/5ff49e29bc9b34e4ecf9c0801f4832dc526fe27d
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2026-09-09 (Wed, 09 Sep 2026)

  Changed paths:
    M mlir/include/mlir/Interfaces/TilingInterface.h
    M mlir/lib/Conversion/SPIRVCommon/CMakeLists.txt
    M mlir/lib/Dialect/Arith/IR/CMakeLists.txt
    M mlir/lib/Dialect/Func/IR/CMakeLists.txt
    M mlir/lib/Dialect/LLVMIR/CMakeLists.txt
    M mlir/lib/Dialect/SCF/IR/SCF.cpp
    M mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
    M mlir/lib/Dialect/SPIRV/IR/CMakeLists.txt
    M mlir/lib/Dialect/Tensor/IR/CMakeLists.txt
    M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
    M mlir/lib/Dialect/Utils/CMakeLists.txt
    M mlir/lib/Interfaces/CMakeLists.txt
    M mlir/lib/Rewrite/CMakeLists.txt
    M mlir/lib/Target/SPIRV/CMakeLists.txt

  Log Message:
  -----------
  [MLIR] Narrow generated-header prerequisites

Forward-declare IteratorType in TilingInterface.h instead of including all
structured-operation utilities. Include those utilities directly in SCF and
Tensor implementations that use their enum values and helpers, and remove
TilingInterface's dependency on the DialectUtils library.

Replace whole-library prerequisites with the specific Arith and GPU interface
generators. Drop VCIX's obsolete GPU prerequisite, and record the precise Ptr,
SPIR-V, Bufferization and Transform generators required by header consumers.

Pass Rewrite's conditional PDL links through add_mlir_library instead of
adding them afterward, so dependency and aggregation metadata see the same
links while preserving the PDL-disabled configuration.

Validate 289 TilingInterface clients without PCH, compile 13 affected source
files to objects, and compile Rewrite with PDL disabled. Configure both normal
and libMLIR-dylib builds and inspect the resulting dependency graph.

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