[Mlir-commits] [mlir] [mlir][Transforms][NFC] Turn op/block arg replacements into `IRRewrite`s (PR #81757)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Feb 26 08:40:57 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
----------------
jeanPerier wrote:
Thanks for the quick fix! I confirm this fixes all the compilation time slowdown on the Fortran program.
https://github.com/llvm/llvm-project/pull/81757
More information about the Mlir-commits
mailing list