Skip to content

merge queue: checking #2058 on master (a1d1c8a) - #2069

Closed
mergify[bot] wants to merge 3 commits into
masterfrom
mergify/merge-queue/f1aadfe0f5
Closed

mergify[bot] wants to merge 3 commits into
masterfrom
mergify/merge-queue/f1aadfe0f5

Conversation

@mergify

@mergify mergify Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is a merge queue draft opened by Mergify. Nobody needs to act on it.
Mergify opened it for batch exotic-pistou-giqlu8 of the changes queue, to test #2058 before it merges into master. Pushing to this branch or closing this pull request removes #2058 from the queue.

What this draft tests

Mergify checks that #2058 still passes CI on top of master. CI runs on this draft's code, built in this order:

  1. master at a1d1c8a
  2. #2058, the pull request of this batch

🎉 Where it stands: checks passed

CI passed on this draft.

Follow the changes queue in the dashboard

What happens next

  • Mergify merges #2058 into master and closes this draft.
Metadata for CI tooling, read by mergify ci
---
all_scopes: false
checking_base_sha: a1d1c8ab17d74814f3f3a2651c650397ef7701d6
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 2058
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Lint & Format
    • check-neutral = @github-actions/Lint & Format
    • check-skipped = @github-actions/Lint & Format
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Windows)
    • check-neutral = @github-actions/NAPI Build (Windows)
    • check-skipped = @github-actions/NAPI Build (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Rust Test & NAPI Build
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-skipped = @github-actions/JS Test (Ubuntu)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Windows)
    • check-neutral = @github-actions/JS Test (Windows)
    • check-skipped = @github-actions/JS Test (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title
Required conditions to stay in the queue
Queue graph

The diagram is not laid out in queue order, so a node's position says nothing about when it merges.

graph LR
    4908e3666438448e986e12714c1c7d43["exotic-pistou-giqlu8<br/>#2058<br/>scopes: core"]
    4feb9de77ffa4669b61961b3dcf751b5["notable-ossau-kjv4nw<br/>#2066<br/>scopes: core"]
    4908e3666438448e986e12714c1c7d43 --> 4feb9de77ffa4669b61961b3dcf751b5
    style 4908e3666438448e986e12714c1c7d43 fill:#6366f1,color:#fff
Loading

tignear and others added 3 commits October 26, 2026 02:29
Change-Id: I9dc1f7023336a74e02ed52bfe8eb1a0a438d3993
…ng clobbers

The reload-recipe analysis derived a query-specific view of one
whole-memory SSA graph by walking it and folding every MemoryPhi whose
inputs agreed for the query.  Folding is not well defined on cycles: a
phi whose inputs were all still on the walk stack was kept as a version
of its own, so a join inside a loop became a distinct version although
nothing in the loop wrote the queried bytes, and the result depended on
where the walk started.  The in-session reuse of such results and the
per-(load, start) clobber cache then froze whichever answer came first
in dominator order.  The spill planner's probe function and the final
MIR query different points in a different order, so their certificates
differed on identical memory states and materialization failed with
RELOAD_RECIPE.STATE_SNAPSHOT_CURRENT (#2041, #2044).

celox-analysis gains `memory_versions`: the minimal SSA of every
elementary byte range, built directly.  A phi for a range is placed
exactly at the iterated dominance frontier of the range's writes, with
live-on-entry as the root definition, so every phi merges two different
reaching versions on any CFG, including irreducible ones, and the
version of every byte at every point is a canonical function of the
program.  Renaming runs once over the dominator tree with a persistent
range-assign tree: O((W + F) log A) nodes for W write ranges, F phi
ranges and A atoms, and a query costs O(k log A) for k result segments,
replacing walks that were O(queries x definitions) or, with the clobber
memo, Θ(ranges x accesses) memory.

Reload snapshots become per-byte segment maps that reference the
function's phi equations, interned once per function as pieces with one
input tuple each; snapshots with equal roots share one allocation.  The
final-MIR verifier compares snapshots run by run with the same ordinal
shifting and factoring inlining as before.  The clobber walker stays in
celox-analysis as a published API and test oracle, without the memo of
#1997 and its budget of #2037, which no client uses any more; its
module docs record the divergence.  Tests: random CFGs with loops,
nested loops, irreducible cycles, overlapping ranges and unknown writes
against one sparse SSA per atom; random acyclic CFGs against the
clobber walker's snapshot equality, where it is exact; the #2041 loop
shape as a documented divergence; and the #2044 derived-edge repro.

Closes #2041, closes #2044.

Change-Id: I2badec66e4eea726e39282d6f994151cdd87e4d2
@mergify mergify Bot closed this Oct 25, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/f1aadfe0f5 branch October 25, 2026 20:09
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.

1 participant