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

via flang-commits flang-commits at lists.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 flang-commits mailing list