================ @@ -1497,15 +1530,33 @@ void ConversionPatternRewriter::replaceOp(Operation *op, ValueRange newValues) { impl->logger.startLine() << "** Replace : '" << op->getName() << "'(" << op << ")\n"; }); - impl->notifyOpReplaced(op, newValues); + SmallVector<ReplacementValues> newVals(newValues.size(), {}); ---------------- zero9178 wrote:
```suggestion SmallVector<ReplacementValues> newVals(newValues.size()); ``` https://github.com/llvm/llvm-project/pull/115816 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits