[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 08:12:31 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:

I'm still waiting for a CI run on another project that had a regression, to make sure that the issue is fixed there as well...


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


More information about the Mlir-commits mailing list