[Mlir-commits] [flang] [mlir] [mlir][Transforms] Add support for `ConversionPatternRewriter::replaceAllUsesWith` (PR #155244)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Sep 15 10:29:49 PDT 2025


zinechant wrote:

I see. Thanks.

We ends up finding the DefiningOp of the value and use the `replaceOp(definingOp)`.
And as you suggested, the user op can just be removed.

https://github.com/llvm/llvm-project/pull/155244


More information about the Mlir-commits mailing list