Repository navigation
refactor(mlir): isolate corpus golden updates per program to reduce PR conflicts - #1575
Conversation
Preserve the scoped SHA-256 recorder, its sample digest, and documentation; carry forward current main unchanged outside the three feature files.
|
CI repair / conflict resolution (2026-11-02): merged current |
Preserve per-case recorder and documentation while incorporating the latest Sofia lattice-Boltzmann, generated docs and LSP transcript updates. No test or CI gate changes.
Why
The last 500 commits repeatedly touched
compiler/fixtures/mlir/corpus.txt(26/50 ten-commit windows). Ten of the fifteen existing open PRs rewrite it, alongsidecompiler/src/mlirgen.flowand checked-in bootstrap outputs. This PR removes one mechanical collision source without changing Stage-A bootstrap safety.Implementation
compiler/fixtures/mlir/corpus.txtas the baseline.compiler/fixtures/mlir/corpus.d/<source-path>.sha256../flow tool compiler/scripts/parity_mlir.flow --record-case <tracked-program.flow>to regenerate one normalized digest or add a new corpus program, instead of rewriting a globally shared corpus manifest.benchmarks/aosoa.flowto exercise the read path, plus migration guidance in the MLIR design documentation.Migration progress
Per-program goldens have been staged without removing the original corpus entries on all ten open MLIR PR branches that modify
corpus.txt: #1558, #1559, #1560, #1561, #1562, #1563, #1564, #1565, #1568 and #1569. This preserves each PR's existing checksums while the new verifier is being tested.After this PR lands, each branch can be rebased, its committed
corpus.txtreplaced with the current mainline manifest, and parity validated using the scoped files. Only then can the central-manifest diff disappear. Do not overwrite compiler backend or bootstrap changes during that migration. Incompatiblemlirgen.flowedits require a separate, ordered integration strategy, and the Stage-A fixed-point verification remains mandatory.Validation
Verified at head
795b6aef9a9274d658c147d0f675753c4b6c0e88(2026-11-02): full CI run 41545738372 completed green, includingflowc self-host roundtrip, native tools, language tests, compiler corpus parity andflowc goldens and MLIR. Tier-1 run 41545738156 passed on both Ubuntu and macOS. No test gate was disabled. PR is ready for review with auto-merge enabled; GitHub's protected merge queue controls integration.CI dependency
The earlier
Native tools (no Python)failure came from the stale generated demo overview on previousmain, not this MLIR parity change. #1578 has now merged and this branch was reconciled with updated main before the passing runs cited above. The hardened scoped-golden parser validates SHA-256 hex and requires all new entries to be eligible tracked programs.