[Mlir-commits] [mlir] [mlir][Transforms] Dialect conversion: Add support for `replaceUsesWithIf` (PR #169606)
Markus Böck
llvmlistbot at llvm.org
Wed Nov 26 02:27:11 PST 2025
================
@@ -1992,6 +2020,8 @@ void ConversionPatternRewriterImpl::replaceAllUsesWith(
replacedValues.insert(from);
#endif // NDEBUG
+ assert(!functor &&
----------------
zero9178 wrote:
I feel this might be worth using `llvm::report_fatal_error` for to make sure users are not misusing the API, even in release mode
https://github.com/llvm/llvm-project/pull/169606
More information about the Mlir-commits
mailing list