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

Slava Zakharin llvmlistbot at llvm.org
Sun Feb 25 15:14:49 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
----------------
vzakhari wrote:

Nope, false alarm.  Disabling this only brings the time to 107 seconds.  I will look further, and also try with the release compiler.

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


More information about the Mlir-commits mailing list