[all-commits] [llvm/llvm-project] 5053fd: [mlir] Add a method to `RewriteBase` to replace a ...
MaheshRavishankar via All-commits
all-commits at lists.llvm.org
Sun Jan 15 21:10:31 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5053fd95fdc3238567fe9cdb584905dc6cb45f85
https://github.com/llvm/llvm-project/commit/5053fd95fdc3238567fe9cdb584905dc6cb45f85
Author: Mahesh Ravishankar <ravishankarm at google.com>
Date: 2023-01-16 (Mon, 16 Jan 2023)
Changed paths:
M mlir/include/mlir/IR/PatternMatch.h
M mlir/lib/IR/PatternMatch.cpp
Log Message:
-----------
[mlir] Add a method to `RewriteBase` to replace a `Value` selectively.
This method allows to selectively control from the caller when to
replace the uses of a `Value`. Still notifies the rewriter that the
user is updated in-place.
Differential Revision: https://reviews.llvm.org/D141026
More information about the All-commits
mailing list