[all-commits] [llvm/llvm-project] 20daa5: [MLIR] Remove and narrow unnecessary header depend...

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


  Branch: refs/heads/users/mamini/mlir-narrow-header-prerequisites
  Home:   https://github.com/llvm/llvm-project
  Commit: 20daa52dd5882811dbcd7b4141bbfc55251d7246
      https://github.com/llvm/llvm-project/commit/20daa52dd5882811dbcd7b4141bbfc55251d7246
  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/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/TensorOps.cpp
    M mlir/lib/Dialect/Utils/CMakeLists.txt
    M mlir/lib/Interfaces/CMakeLists.txt

  Log Message:
  -----------
  [MLIR] Remove and narrow unnecessary header dependencies

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 DialectUtils's Arith library prerequisite with its operation generator,
and SPIR-V's GPU library prerequisite with its compilation-interface generator.
Drop VCIX's obsolete GPU compilation-interface prerequisite.

The source changes passed compilation checks for 289 TilingInterface clients
with PCH disabled. Reconfigure and verify the narrowed 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