[all-commits] [llvm/llvm-project] 77603e: [mlir] Add `replaceAllUsesExcept` to rewriter
Diego Caballero via All-commits
all-commits at lists.llvm.org
Mon Dec 5 23:42:52 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 77603e28ce05d3a70bcf7fb2880e7b0c6c547810
https://github.com/llvm/llvm-project/commit/77603e28ce05d3a70bcf7fb2880e7b0c6c547810
Author: Diego Caballero <diegocaballero at google.com>
Date: 2022-12-06 (Tue, 06 Dec 2022)
Changed paths:
M mlir/include/mlir/IR/PatternMatch.h
M mlir/lib/IR/PatternMatch.cpp
Log Message:
-----------
[mlir] Add `replaceAllUsesExcept` to rewriter
This patch adds `replaceAllUsesExcept` to the rewriter class.
The implementation is copy-pasted from Value + calling
`updateRootInPlace` to notify the listeners about the
corresponding IR changes.
Reviewed By: Mogball
Differential Revision: https://reviews.llvm.org/D139382
More information about the All-commits
mailing list