[Mlir-commits] [mlir] [mlir][Transforms][NFC] Turn op/block arg replacements into `IRRewrite`s (PR #81757)

Matthias Springer llvmlistbot at llvm.org
Mon Feb 26 01:37:04 PST 2024


================
@@ -1462,7 +1490,12 @@ void ConversionPatternRewriterImpl::notifyOperationInserted(
 void ConversionPatternRewriterImpl::notifyOpReplaced(Operation *op,
                                                      ValueRange newValues) {
   assert(newValues.size() == op->getNumResults());
-  assert(!replacements.count(op) && "operation was already replaced");
+#ifndef NDEBUG
----------------
matthias-springer wrote:

Can I reproduce this locally?


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


More information about the Mlir-commits mailing list