[MooreToCore] DPI calls with open array arguments are broken
Open
@amanmaurya92 is already working on this.
Since Sep 8, 2026.
good first issue
Moore
- Dominant language
- C++
- Stars
- 2.2k
- Forks
- 524
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 46
Description
#11024 removed support for casting a fixed-size array to a DPI open-array parameter of matching element type, e.g. binding a byte data[8] actual to a byte data[] parameter in a DPI function. Test coverage for this was dropped from
test/Conversion/MooreToCore/dpi-open-array.mlirtest/Conversion/MooreToCore/moore-dpi-call-lowering.mlirtest/Conversion/MooreToCore/errors.mlir
This was originally added by @pscabot in #9882. With the moore.conversion op gone, we'll need a dedicated conversion op to support this case again.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.