[all-commits] [llvm/llvm-project] c66b72: [mlir][tensor] remove tensor.insert constant foldi...

asraa via All-commits all-commits at lists.llvm.org
Thu Jun 5 14:53:55 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c66b72f8ce4d12b6fa12f9b359b114fae5d2dcff
      https://github.com/llvm/llvm-project/commit/c66b72f8ce4d12b6fa12f9b359b114fae5d2dcff
  Author: asraa <asraa at google.com>
  Date:   2025-06-05 (Thu, 05 Jun 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Tensor/IR/TensorOps.td
    M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
    M mlir/test/Dialect/Tensor/canonicalize.mlir

  Log Message:
  -----------
  [mlir][tensor] remove tensor.insert constant folding out of canonicalization (#142671)

Follow ups from https://github.com/llvm/llvm-project/pull/142458/
In particular concerns that indiscriminately folding tensor constants
can lead to bloating the IR as these can be arbitrarily large.

Signed-off-by: Asra Ali <asraa at google.com>



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