[all-commits] [llvm/llvm-project] 5979e1: [mlir] Fix `empty-tensor-elimination` around self-...

long.chen via All-commits all-commits at lists.llvm.org
Thu Oct 5 03:04:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5979e1dfb129583c5c2d7b6309de7ffabf0767f3
      https://github.com/llvm/llvm-project/commit/5979e1dfb129583c5c2d7b6309de7ffabf0767f3
  Author: long.chen <lipracer at gmail.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M mlir/lib/Dialect/Bufferization/Transforms/EmptyTensorElimination.cpp
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize-empty-tensor-elimination.mlir
    M mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp

  Log Message:
  -----------
  [mlir] Fix `empty-tensor-elimination` around self-copies (#68129)

* Fixes #67977, a crash in `empty-tensor-elimination`.
* Also improves `linalg.copy` canonicalization.
* Also improves indentation indentation in `mlir-linalg-ods-yaml-gen.cpp`.




More information about the All-commits mailing list