[all-commits] [llvm/llvm-project] 04ac8c: [mlir][linalg] Fix canonicalizer crash for `linalg...

Ivan Butygin via All-commits all-commits at lists.llvm.org
Mon Oct 17 06:24:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04ac8cb8e1faf16cab71add0eaa6c591db91c341
      https://github.com/llvm/llvm-project/commit/04ac8cb8e1faf16cab71add0eaa6c591db91c341
  Author: Ivan Butygin <ivan.butygin at gmail.com>
  Date:   2022-10-17 (Mon, 17 Oct 2022)

  Changed paths:
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/test/Dialect/Linalg/canonicalize.mlir

  Log Message:
  -----------
  [mlir][linalg] Fix canonicalizer crash for `linalg.generic` with mixed semantics

`EraseIdentityGenericOp` for `!hasBufferSemantics()` assumed fully tensor semantics and tried to access non-existent return values.

Differential Revision: https://reviews.llvm.org/D135725




More information about the All-commits mailing list