[all-commits] [llvm/llvm-project] 4a7aed: [mlir][IR] Add a new SymbolUserMap class
River Riddle via All-commits
all-commits at lists.llvm.org
Tue Mar 9 15:08:19 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4a7aed4ee739de5ad13bd631d4af727df7fc5849
https://github.com/llvm/llvm-project/commit/4a7aed4ee739de5ad13bd631d4af727df7fc5849
Author: River Riddle <riddleriver at gmail.com>
Date: 2021-03-09 (Tue, 09 Mar 2021)
Changed paths:
M mlir/include/mlir/IR/SymbolTable.h
M mlir/lib/IR/SymbolTable.cpp
M mlir/test/lib/IR/TestSymbolUses.cpp
Log Message:
-----------
[mlir][IR] Add a new SymbolUserMap class
This class provides efficient implementations of symbol queries related to uses, such as collecting the users of a symbol, replacing all uses, etc. This provides similar benefits to use related queries, as SymbolTableCollection did for lookup queries.
Differential Revision: https://reviews.llvm.org/D98071
Commit: a776ecb6c2b83454f4cd22a0e302aef558381dab
https://github.com/llvm/llvm-project/commit/a776ecb6c2b83454f4cd22a0e302aef558381dab
Author: River Riddle <riddleriver at gmail.com>
Date: 2021-03-09 (Tue, 09 Mar 2021)
Changed paths:
M mlir/include/mlir/IR/Operation.h
M mlir/include/mlir/IR/OperationSupport.h
M mlir/lib/IR/OperationSupport.cpp
M mlir/unittests/IR/OperationSupportTest.cpp
Log Message:
-----------
[mlir][IR] Add an Operation::eraseOperands that supports batch erasure
This method allows for removing multiple disjoint operands at once, reducing the need to erase operands individually (which results in shifting the operand list).
Differential Revision: https://reviews.llvm.org/D98290
Compare: https://github.com/llvm/llvm-project/compare/a892b0015ed6...a776ecb6c2b8
More information about the All-commits
mailing list