[Mlir-commits] [mlir] [mlir][Transforms] Mark 1:N conversion driver as deprecated (PR #121102)

Daniel Chen llvmlistbot at llvm.org
Tue Jan 7 11:48:36 PST 2025


DanielCChen wrote:

@matthias-springer We are getting build failures as:
```
llvm-project/mlir/lib/Dialect/SCF/Transforms/OneToNTypeConversion.cpp:53:14: error: 'replaceOp' is deprecated: Use replaceOpWithMultiple() instead [-Werror,-Wdeprecated-declarations]
   53 |     rewriter.replaceOp(op, newOp->getResults(), resultMapping);
      |              ^~~~~~~~~
      |              replaceOpWithMultiple
```

It seems the two (replaceOp and replaceOpWithMultiple) have different ABI.

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


More information about the Mlir-commits mailing list