[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
Loading
Please sign in to comment