[all-commits] [llvm/llvm-project] b6a32d: [mlir:SymbolTable] Add "remove" method that drops ...

River Riddle via All-commits all-commits at lists.llvm.org
Fri Sep 9 15:10:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b6a32d947524dc07a7871956a1e94165446b0174
      https://github.com/llvm/llvm-project/commit/b6a32d947524dc07a7871956a1e94165446b0174
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M mlir/include/mlir/IR/SymbolTable.h
    M mlir/lib/IR/SymbolTable.cpp

  Log Message:
  -----------
  [mlir:SymbolTable] Add "remove" method that drops a symbol without erasing it

There are various use cases where we don't want to immediately erase
an operation when removing it from the symbol table. This commit adds
a "remove" method to support that.

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


  Commit: af5d2df378eab3c52b6d4d39e3716477f0031cb5
      https://github.com/llvm/llvm-project/commit/af5d2df378eab3c52b6d4d39e3716477f0031cb5
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M mlir/unittests/IR/BlockAndValueMapping.cpp

  Log Message:
  -----------
  [mlir] Fix asan leak in BlockAndValueMapping test

Operations were being created without being erased.


Compare: https://github.com/llvm/llvm-project/compare/71fae33f5e7c...af5d2df378ea


More information about the All-commits mailing list