Repository navigation
merge queue: checking #1950 on master (bbe7419), stacked on #1954, #1976 and #1981 - #1987
Closed
mergify[bot] wants to merge 8 commits into
Closed
mergify[bot] wants to merge 8 commits into
mergify[bot] wants to merge 8 commits into
Conversation
A non-ANSI header lists port names, and port declarations in the body give their direction and type; a net or variable declaration of the same name may complete a port declaration without a type (IEEE 1800-2023 23.2.2.1). When every header port is a simple name, the parser now folds the body declarations into the header ports and gives the unit the ANSI form, so analysis sees one declaration per port. A vector net or variable declaration must repeat the port declaration's range; the port declaration's range and signing carry over to a scalar one. A net declaration assignment of a port stays a continuous assignment (10.3.1). A header port without a port declaration, a port declared twice, a port declaration that names no header port, differing ranges, a second declaration of a port whose port declaration has a net or variable type, and a variable initializer on a completed port are rejected by name. Headers with port expressions (selects, concatenations, named or empty ports) stay unsupported and are tracked in #1953. Closes #426 Change-Id: I548cd471cd50819374b833c057bc2bfa39355e6a
Several plain edge-triggered `always` processes may write one variable, such as the `integer i` that C906's aq_biu_req_arbiter uses as the index of two `always @(posedge clk)` loops. Only always_comb, always_latch and always_ff restrict a variable to one process (IEEE 1800-2023 9.2.2.2, 9.2.2.4); otherwise the last write determines the value (6.5). Celox rejected the design with "multiple variable drivers for `i`". A variable other than an unpacked array that only plain edge processes write, and only by blocking assignments, is now accepted. Those processes read and write its stable state directly, as a blocking assignment updates the variable at once (10.4.1): a process reads its own preceding writes, a later edge sees the other process's writes, and the last write stays even when a coincident process does not write the variable. The usual per-process working seed and commit would let such a process commit the pre-edge value over another process's write. The handling is per variable; designs without such variables lower as before. always_ff overlap and nonblocking writes from several processes stay rejected. Closes #1945 Change-Id: I2bcf163f2ca3ebc3b62c1e6c8fad0c4720f54958
A lane task can update one array element while publishing another element computed by a different task. Applying the complete-event working-memory rewrite to that task removed the other producer's Commit, leaving a four-stage pipeline stuck after its second stage. Use a partial-event entry point for lane compilation. Track possibly uninitialized access fragments through the CFG and preserve external pending reads and publications. Retain direct updates when all paths define the observed fragments, and keep complete-event optimization unchanged. Carry NativeMergeKind from task construction through compilation so partial and fused comb/FF optimization decisions are independent of diagnostic labels. Use an exhaustive match for the working-state rewrite. Add five optimizer regressions and a portable generate-if pipeline case covering ascending and descending arrays with one, two and four stages. Validation on master feba1a5, with this commit checked out alone: - Generate-if pipeline regression: all five backends passed. - Native parallel common regressions: 303 passed. - SIR optimizer: 473 passed, one existing ignored, plus its doctest. - Native image and differential scheduler regressions: 50 passed. - Clippy for celox-sir-opt and celox, including SV test registrations, passed. The unchanged shared pipeline case also passed Icarus and Verilator during validation on master 644beac; external adapters and this case are unchanged. With the stacked SV fix, rebuilt NAPI and passed the threads E2E test and all three runtime-event addon tests. Workspace check (excluding lydite-celox), formatting, lint and submodule checks passed. After replacing label-based dispatch with NativeMergeKind, 2,283 Native regressions passed on this commit alone, including the common parallel suite, image/differential scheduler tests and the Native SV variants. Affected-crate clippy also passed. Change-Id: I14a726b2bd25a3b561d230855cd9bcb81dd52da2
When two bit-extract replacements share a dead shift, the cleanup visits that shift twice and decrements its operand use counts twice. This can delete the shift amount even when another live shift still uses it, producing invalid SSA. Only decrement a dead instruction's operands when it is first inserted into the removal set. Add a regression with two masked uses of one shift and a separate live shift sharing its amount; verify SSA before and after the actual pass. This isolates the concrete bug fix found during formal-verification work. It contains no extraction refactors and does not claim a universal pass proof. Validation: the new regression fails before the fix with SSA.USE_HAS_DEFINITION (r1 is used but never defined). After the fix, celox-sir-opt has 469 passing unit tests (1 ignored) and 1 passing doctest; cargo clippy --locked -p celox-sir-opt --all-targets -- -D warnings and cargo fmt --all -- --check pass. The existing masked_shift_fields_keep_expression_width regression also passes on Wasm, native, Cranelift, native parallel and Cranelift parallel backends (5 tests). Shared cases and external simulator adapters are unchanged. Change-Id: I9e413552cce93def93a0ef57f46d82ac323a8d7f
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 gigantic-cassoulet-97wkjv of the
changesqueue, to test #1950 before it merges intomaster. Pushing to this branch or closing this pull request removes #1950 from the queue.What this draft tests
Mergify checks that #1950 still passes CI once combined with everything queued ahead of it. CI runs on this draft's code, built in this order:
masteratbbe7419f32f5a5The check is speculative: it assumes the pull requests ahead will merge, so it starts without waiting for them.
🎉 Where it stands: checks passed
CI passed on this draft.
Follow the
changesqueue in the dashboardWhat happens next
masterand closes this draft.Tip
A red check is not necessarily caused by this batch. These checks run on a tip that also carries the commits of the 3 pull requests ahead, so a failure here can come from them as much as from #1950. See only this batch's changes.
Queued ahead of this batch
These pull requests entered the queue before this batch and are not part of it.
coreMetadata 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 titleQueue graph
The diagram is not laid out in queue order, so a node's position says nothing about when it merges.
graph LR d43bbb87bf8f4dac802bdc2b7c895f71["informed-rillettes-nh7ha0<br/>#1954 + #1976 + #1981<br/>scopes: core"] 99c9ae7ee6974fb6b27edf2a04272774["gigantic-cassoulet-97wkjv<br/>#1950<br/>scopes: core"] d43bbb87bf8f4dac802bdc2b7c895f71 --> 99c9ae7ee6974fb6b27edf2a04272774 style 99c9ae7ee6974fb6b27edf2a04272774 fill:#6366f1,color:#fff