[all-commits] [llvm/llvm-project] 870e18: [mlir][Tensor] Split out the dialect declaration (...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Thu Sep 10 14:25:59 PDT 2026


  Branch: refs/heads/users/mamini/mlir-tensor-dialect-declaration
  Home:   https://github.com/llvm/llvm-project
  Commit: 870e1865321e3c72ce083f71bac36f1321fc1a52
      https://github.com/llvm/llvm-project/commit/870e1865321e3c72ce083f71bac36f1321fc1a52
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2026-09-10 (Thu, 10 Sep 2026)

  Changed paths:
    M mlir/include/mlir/Dialect/Tensor/IR/Tensor.h
    A mlir/include/mlir/Dialect/Tensor/IR/TensorDialect.h
    M mlir/lib/CAPI/Dialect/Tensor.cpp
    M mlir/lib/Conversion/TosaToSCF/TosaToSCFPass.cpp

  Log Message:
  -----------
  [mlir][Tensor] Split out the dialect declaration (NFC)

Move TensorDialect to a self-contained declaration header and use it in the
two consumers that only need the dialect class.

Across three controlled rebuilds of the affected TUs, median instructions
fell from 25.499B to 21.072B (-17.363%) and median wall time fell from 3.55s
to 2.81s (-20.845%).

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