Repository navigation
Fix MLIR array and callback ABI lowering - #831
Conversation
|
Follow-up: fixed the six new lint E702 findings in the callback adapter. Local validation now passes 31 focused MLIR tests and all five flow-audio conformance programs through MLIR verification. The remaining CI lint findings are pre-existing in src/flow/project_test_runner.py (unused shlex and raw_name), outside this PR. |
|
CI cleanup is now green: lint, documentation coverage, wiki build, docs examples, security, fuzz, platform backends, and example smoke all pass. One pre-existing flowc self-host roundtrip job fails at link time because the generated bootstrap references missing symbols (flowc_lex_is_digit, flowc_cgen_putc, flowc_cgen_span_is, flowc_jsgen_putc, flowc_fmt_putc). This is outside the MLIR patch and reproduces on the PR merge ref. |
Fixes two MLIR backend failures exposed by flow-audio conformance: typed empty fixed arrays are kept as LLVM aggregate storage instead of being retagged as zero-length memrefs, and named function callbacks are lowered through hidden-environment adapters into Flow's fat closure ABI. Adds regression coverage for named callbacks. Focused validation: 4 MLIR closure tests and all 5 flow-audio MLIR conformance programs lower successfully through MLIR verification.