Repository navigation
merge queue: checking #1766 + #1737 together on master (d5a1eff) - #1770
Closed
mergify[bot] wants to merge 4 commits into
Closed
mergify[bot] wants to merge 4 commits into
mergify[bot] wants to merge 4 commits into
Conversation
Static function locals, implicit results and output-only arguments now retain observable state between calls, including real values and integral arrays. Call sites share the storage, module instances have separate storage, and constant function evaluation uses fresh initialized values without changing runtime state. One-time initializers run through the existing initialization processes; stateful initializer calls require Simulation or a native testbench. Promote retained storage to ordinary module/package state and lower stateful calls through the imperative path, preserving the existing optimizer and checkpoint behavior. Keep the scratch-local proofs and existing restrictions on task locals, nonconstant static initializers and package writers. Class methods retain automatic lifetime; explicit and implicit constructors preserve their object handles and constructor return behavior. Add shared regressions for call ordering, early returns, real values, arrays, four-state and 981-bit storage, package and instance scopes, constant calls, and timed processes. Retain focused Verilator/Icarus disagreements and compile limitations with standalone sources and narrow tool/case exclusions. Validation after rebasing onto master (ce31782): - Full SystemVerilog backend suite: 4,001 passed, 20 existing ignored. - Analyzer/frontend unit tests: 795 passed, 3 existing ignored. - Lifetime/package consumers: 71 passed. - Shared suite with Verilator/Icarus features: 78 passed. - Focused Verilator: 10 passed, 2 reviewed exclusions, 1 four-state unsupported. - Focused Icarus: 9 passed, 4 reviewed exclusions. - cargo fmt and affected-crate/consumer Clippy checks passed. - Full pinned sv-tests conformance: all 2,054 case/mode verdicts match the reviewed expectations (525 passes in 2state and 527 in 4state). An independently reproduced existing Wasm bug affects unaligned multiword unpacked-array elements; the shared retained-array regression uses 64-bit elements, and the separate 981-bit packed-storage regression passes all backends. BREAKING CHANGE: SubroutineBase gains a persistent_locals field; consumers constructing this public analyzer IR structure must initialize the field. Change-Id: Ib759645220e169de2d702db4a81aa7bb4980944d
Casts of divisions and remainders could fail with unknown operand signedness because the internal zero-divisor guard has an untyped unknown arm. Infer the guard's signedness and width from its operation, and avoid inserting guards again when binding an enclosing expression. This also preserves signed arithmetic in four-state lowering instead of creating nested unsigned muxes. Evaluate signing-cast operands in their original type before changing the result sign, so unsigned'(a / b) does not turn a signed division unsigned. Add two shared regressions for mixed signs, parameter divisors, narrowing, nested divisions, signing/type casts, and four-state zero-divisor results. Validation: - Full SV suite: 3952 passed, 20 existing ignored across five backends. - Analyzer unit tests: 791 passed, 3 existing ignored. - Shared suite unit tests: 46 passed, 2 existing ignored. - Icarus: both new cases passed. Verilator: ordinary case passed; the adapter reports the four-state case unsupported due to four-state expectations. - Affected library/harness Clippy (-D warnings), cargo fmt and diff checks pass. - Unchanged Taxi sources with O1/two-state pass 29 cocotb tests across mac_ctrl_rx[8], mac_ctrl_tx[8], and zircon_ip_len_cksum[32], with zero skips. Three other previously cast-blocked configurations now reach existing $size or SERDES array-range blockers. All 52 resolved SV source fingerprints match the original audit; no optimization settings or exclusions changed. Change-Id: I560b79b58966e9083629921a4dbf6563ff5d09f3
This was referenced Oct 22, 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 historical-clementine-7zxqh7 of the
changesqueue, to test #1766 and #1737 before they merge intomaster. Pushing to this branch or closing this pull request removes them from the queue.What this draft tests
Mergify checks that #1766 and #1737 still pass CI on top of
master. CI runs on this draft's code, built in this order:masteratd5a1eff🎉 Where it stands: checks passed
CI passed on this draft.
Follow the
changesqueue in the dashboardWhat happens next
masterand closes this draft.Metadata for CI tooling, read by
mergify ci1 scope
coreRequired conditions of queue rule
changesfor mergecheck-success = Conventional Commit titlecheck-success = Queue validationmaster]: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/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-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-readymaster]: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