[all-commits] [llvm/llvm-project] 36c018: [mlir][sparse] fix asan issue

Aart Bik via All-commits all-commits at lists.llvm.org
Thu Jun 16 14:49:19 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 36c01876d79dd962d3aa1f5691dbd3faa437b9a8
  Author: Aart Bik <ajcbik at google.com>
  Date:   2022-06-16 (Thu, 16 Jun 2022)

  Changed paths:
    M mlir/test/Integration/Dialect/SparseTensor/CPU/dense_output.mlir

  Log Message:
  [mlir][sparse] fix asan issue

The LinalgElementwiseOpFusion pass has become smarter, and converts
the simple conversion linalg operation into a sparse dialect convert
operation. However, since our current bufferization does not take the
new semantics into consideration, we leak memory of the allocation.
For now, this has been fixed by making the operation less trivial.

Reviewed By: bixia

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

More information about the All-commits mailing list