Skip to content

fix(mlir): lower vector literals with vector.from_elements (migrates #1562 onto main per #1576) - #1674

Closed
godofecht wants to merge 20 commits into
mainfrom
jules-1562-vector-lit-309291271695338674
Closed

godofecht wants to merge 20 commits into
mainfrom
jules-1562-vector-lit-309291271695338674

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Migrates historical PR #1562 onto main after #1665 and #1666, restoring the full change of its commit 69b3166 (the branch tip had lost the emitter half in a merge).
This PR includes a freshly regenerated bootstrap and 2 per-program corpus.d digests for the intentionally changed SIMD programs:

  • test_simd_vector.flow
  • test_simple_simd.flow

Note that #1667 already merged into the base branch with its bootstrap; this generation is on top of that. Does not touch cgen.flow or parser.flow.

Fixed-point and parity checks were run successfully (fixtures (text): pass=29 of 29).

Supersedes #1562 (and replaces the stale #1673 which was based on 0fa9048).
Part of #1576.


PR created automatically by Jules for task 309291271695338674 started by @godofecht

@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 5, 2026
@cursor
cursor Bot force-pushed the jules-1562-vector-lit-309291271695338674 branch from 86444d6 to aaf105d Compare November 5, 2026 13:11

Copy link
Copy Markdown
Contributor Author

CI root-cause audit, 2026-11-05: prior red run 42046731265 passed 30/30 MLIR text fixtures and 30/30 executable fixtures, but reported exactly two stale corpus digests after the vector.from_elements lowering change. The parity gate now prints expected and observed SHA-256 (commit 3079bea). I recorded the observed normalized MLIR digests for tests/simd/test_simd_vector.flow (commit 74b3e18, c471e174…) and tests/simd/test_simple_simd.flow (commit bf26a33, 70430274…). No gate was weakened or bypassed. Fresh CI: 42049213622. Review run semantics and MLIR/C parity before merging.

godofecht and others added 3 commits November 5, 2026 15:21
…-309291271695338674

Co-authored-by: Abhishek Shivakumar <[email protected]>

# Conflicts:
#	compiler/bootstrap/flowc_stage_a
#	compiler/bootstrap/flowc_stage_a.c
@godofecht
godofecht enabled auto-merge November 5, 2026 17:20
@godofecht
godofecht added this pull request to the merge queue Nov 5, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 5, 2026

Copy link
Copy Markdown
Contributor Author

Current-head integration audit (2026-11-05): head 68556383 is mergeable and CI run 42100908284 passes, but the PR diff includes 42 files, not just vector literal lowering/bootstrap/two SIMD digests. In particular it deletes the current-main Orchestrator coordination section from AGENTS.md and changes docs/project/agentic-loop.md, compiler/src/resolve.flow, unrelated SOFIA source/tests, trait/effects fixtures, and LSP goldens. This appears to be base drift / unintended reversion, not a justified part of the SIMD fix. Please reconcile this branch against current main preserving unrelated main changes, then regenerate derived files and rerun all applicable checks before merging. Tier-1 macOS job in 42100908360 was cancelled, not passed. Do not treat overall CI success as proof of full platform qualification. This is a coordination warning, not permission to overwrite generated artifacts or bypass gates.

Copy link
Copy Markdown
Contributor Author

Merge audit (2026-11-06): do not merge this branch as-is despite its currently green CI. The diff contains unrelated regressions compared with main, including removal of the MLIR header-type probe and trait-impl fixtures, removal of strict unhandled-effect diagnostics, rollback of Field DSL multiplier handling, deletion of SOFIA numerical test fixtures, and deletion of Orchestrator/agentic-loop documentation. These are not part of vector.from_elements and can silently regress compiler coverage. Please reconstruct/rebase this migration on current main with only the vector-literal emitter/type/cast change, matching vector fixture and derived bootstrap/corpus regeneration, then rerun exact-head CI and merge queue. The current 54-file patch must not be accepted wholesale.

Copy link
Copy Markdown
Contributor Author

Superseded by merged #1682 (fix(mlir): lower vector literals with vector.from_elements (rebased; supersedes #1674)). I verified that both PRs change the same eight paths, including compiler/src/mlirgen.flow, the vector-literal MLIR fixtures, SIMD corpus goldens and regenerated bootstrap artifacts. #1682 is merged, so retaining this older conflicting implementation as a second merge candidate would duplicate the work. Closing as superseded, not discarding the feature.

@godofecht godofecht closed this Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants