[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:01:55 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:
OK, I traced the issue back to the same function (`isOpIgnored`) on some other tests.
Can you check if this fixes the issue: https://github.com/llvm/llvm-project/pull/83023
https://github.com/llvm/llvm-project/pull/81757
More information about the Mlir-commits
mailing list