[all-commits] [llvm/llvm-project] ccc025: [mlir][linalg]: Fixed possible memory leak in clon...

Aviad Cohen via All-commits all-commits at lists.llvm.org
Sat Apr 6 22:23:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ccc02563f4d620d4d29a1cbd2c463871cc54745b
      https://github.com/llvm/llvm-project/commit/ccc02563f4d620d4d29a1cbd2c463871cc54745b
  Author: Aviad Cohen <aviadcohen7 at gmail.com>
  Date:   2024-04-07 (Sun, 07 Apr 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
    M mlir/lib/Dialect/Utils/StructuredOpsUtils.cpp

  Log Message:
  -----------
  [mlir][linalg]: Fixed possible memory leak in cloneToCollapsedOp (#87595)

* Direct call to `clone` function leads to memory leak. Instead, we should use `RewriterBase` clone function instead.



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