[all-commits] [llvm/llvm-project] 810b28: Fixed a memory leak in the PDLToPDLInterp RootOrde...

Stanislav Funiak via All-commits all-commits at lists.llvm.org
Wed Dec 1 04:15:56 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 810b2849181fb2b248b1d5f586cede6618ca7120
      https://github.com/llvm/llvm-project/commit/810b2849181fb2b248b1d5f586cede6618ca7120
  Author: Stanislav Funiak <stano at cerebras.net>
  Date:   2021-12-01 (Wed, 01 Dec 2021)

  Changed paths:
    M mlir/unittests/Conversion/PDLToPDLInterp/RootOrderingTest.cpp

  Log Message:
  -----------
  Fixed a memory leak in the PDLToPDLInterp RootOrderingTest.

RootOrderingTest is a low-level unit test that creates values and uses them as vertices in a directed graph. These vertices were created using `builder.create`, but never freed, due to my insufficient understanding of the MLIR infrastructure.

Reviewed By: mehdi_amini, bondhugula, rriddle

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




More information about the All-commits mailing list