Repository navigation
merge queue: checking #2058 + #2061 together on master (a1d1c8a) - #2065
Closed
mergify[bot] wants to merge 5 commits into
Closed
mergify[bot] wants to merge 5 commits into
mergify[bot] wants to merge 5 commits into
Conversation
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
A bare `pragma was accepted by preprocessing even though IEEE 1800-2023 22.11 (Syntax 22-8) requires a pragma name. Reject active pragma directives whose line contains only whitespace or comments. Preserve named unknown pragmas and inactive conditional branches. Cover EOF, whitespace, comments, a following module, inactive branches, and error propagation through public preprocessing and parsing APIs. The official sv-tests pragma-invalid case now passes in both state modes because it receives the intended diagnostic. Update only its two expectation rows; all 90 preprocessing cases now pass in each mode. Validation: celox-sv-syntax tests (126 passed), analyzer syntax tests (7 passed), Clippy for both crates with all targets and warnings denied, formatting and diff checks, and the official pragma-invalid case in both state modes with the release sv_tests driver. Change-Id: I0046a3ff7118b6fbf823c326ede552932d3af5a0
This was referenced Oct 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This is a merge queue draft opened by Mergify. Nobody needs to act on it.
Mergify opened it for batch internal-aligot-wr96fk of the
changesqueue, to test #2058 and #2061 before they merge intomaster.What this draft tests
Mergify checks that #2058 and #2061 still pass CI on top of
master. CI runs on this draft's code, built in this order:masterata1d1c8a✨ Where it stands: closed
The pull request #2061 has been manually updated.
Follow the
changesqueue in the dashboardWhat happens next
Metadata for CI tooling, read by
mergify ci1 scope
coreRequired conditions of queue rule
changesfor mergecheck-success = Queue validationmaster]:check-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildcheck-success = @github-actions/Rust Test & NAPI Buildcheck-success = Conventional Commit titledepends-on = celox-sim/celox#2059[⛓️ fix(sv-tests): execute preprocessing cases instead of skipping them #2059]number != 2061master]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]: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)master]:check-success = @github-actions/NAPI Build (Windows)check-neutral = @github-actions/NAPI Build (Windows)check-skipped = @github-actions/NAPI Build (Windows)master]:check-success = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)master]:check-success = @github-actions/JS Test (Windows)check-neutral = @github-actions/JS Test (Windows)check-skipped = @github-actions/JS Test (Windows)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titleRequired conditions to stay in the queue
-conflict-draft-head ~= ^(integration/|renovate/veryl-crates$|upgrade/veryl-|release-please--branches--master--components--celox$|master$)-head ~= ^renovate/-label = release:holdbase ~= ^(master|develop)$base ~= ^stack/body ~= (?m)^Depends-On:head != release-please--branches--master--components--celoxlabel = merge-readydepends-on = celox-sim/celox#2059[⛓️ fix(sv-tests): execute preprocessing cases instead of skipping them #2059]number != 2061master]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]:check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-success = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-skipped = @github-actions/NAPI Build (Windows)check-neutral = @github-actions/NAPI Build (Windows)check-success = @github-actions/NAPI Build (Windows)master]:check-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildmaster]:check-success = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)master]:check-skipped = @github-actions/JS Test (Windows)check-neutral = @github-actions/JS Test (Windows)check-success = @github-actions/JS Test (Windows)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit title