OneToN Dialect Conversion deprecated
- Dominant language
- MLIR
- Stars
- 906
- Forks
- 171
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 32
Description
The upstream MLIR one to N dialect conversion engine has been merged into the default dialect conversion engine, and all related methods for them have been marked as deprecated and will be deleted in April 2025.
Check https://discourse.llvm.org/t/rfc-merging-1-1-and-1-n-dialect-conversions/82513/10
Affected pass in HEIR: `lib/Transforms/TensorToScalars/TensorToScalars.cpp`
```bash
lib/Transforms/TensorToScalars/TensorToScalars.cpp:75:14: warning: 'replaceOp' is deprecated: Use replaceOpWithMultiple() instead [-Wdeprecated-declarations]
rewriter.replaceOp(op, adaptor.getFlatOperands(),
^~~~~~~~~
replaceOpWithMultiple
lib/Transforms/TensorToScalars/TensorToScalars.cpp:148:28: warning: 'applyPartialOneToNConversion' is deprecated: Use applyPartialConversion() instead [-Wdeprecated-declarations]
if (mlir::failed(mlir::applyPartialOneToNConversion(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
applyPartialConversion
```
Cc @AlexanderViand-Intel
Contributor guide
Assessment
This issue has not been assessed yet.