Skip to content

merge queue: checking #2230 on master (e364e4d), stacked on #2207, #2174 and #2229 - #2245

Closed
mergify[bot] wants to merge 8 commits into
masterfrom
mergify/merge-queue/97f648b450
Closed

mergify[bot] wants to merge 8 commits into
masterfrom
mergify/merge-queue/97f648b450

Conversation

@mergify

@mergify mergify Bot commented Oct 27, 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 good-bayonne-jus9x6 of the changes queue, to test #2230 before it merges into master. Pushing to this branch or closing this pull request removes #2230 from the queue.

What this draft tests

Mergify checks that #2230 still passes CI once combined with everything queued ahead of it. CI runs on this draft's code, built in this order:

  1. master at e364e4d
  2. the 3 pull requests queued ahead of this batch, listed below, which bring the tip to 8ee95d7
  3. #2230, the pull request of this batch

The 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 changes queue in the dashboard

What happens next

  • Once the pull requests ahead have merged, Mergify merges #2230 into master and closes this draft.
  • If a pull request ahead fails or leaves the queue without merging, this batch is requeued and checked again on a new draft: these checks assumed it would merge.

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 #2230. 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.

Metadata for CI tooling, read by mergify ci
---
all_scopes: false
checking_base_sha: 8ee95d7e5abeb456d0561384f045fcc72e942913
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 2230
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • depends-on = celox-sim/celox#2229 [⛓️ perf(sir-opt): verify coupled rewrites once per batch #2229]
  • 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
    20d08d9ce109419780da26180ab8af4c["good-bayonne-jus9x6<br/>#2230<br/>scopes: core"]
    d53e52f52bc642faa9bdd53cb38e685f["high-salers-gy95xf<br/>#2243<br/>scopes: core"]
    20d08d9ce109419780da26180ab8af4c --> d53e52f52bc642faa9bdd53cb38e685f
    style 20d08d9ce109419780da26180ab8af4c fill:#6366f1,color:#fff
Loading

tignear and others added 8 commits October 27, 2026 14:03
Coupled store sinking and mux branchification rescanned the entire execution unit after each independent rewrite. Verify the completed batch once, retaining whole-unit validation while avoiding quadratic rescans on large designs.

Validation: optimizer unit tests, including counter-based multi-block regressions that also compare execution results; owning-crate clippy and formatting. A profiled large compile previously spent 26.7 seconds in 338 repeated scans.
Change-Id: Ided1728ddf74ef8e3fb871971bb00af112418892
Dimension discovery retained a published copy-on-write scope while extending the same prefix, repeatedly copying all preceding bindings. Remove the exact published snapshot during query-free mutation and publish the updated scope afterwards.

Validation: analyzer unit tests and a 128-declaration regression bounding copied bindings; clippy and formatting. The regression reduces copied bindings from 25026 to at most 1024.
Change-Id: I2d3a1a3043eb5b104b63a9658d8c88b64ac81bc5
Array calls such as values.sum and values.product() now evaluate for
one-dimensional fixed integral arrays, dynamic arrays, queues and associative
arrays. Preserve element width, signedness, packed query shape and X/Z
propagation (IEEE 1800-2023 7.12.3), including overflow before widening to an
assignment destination. Accept ordinary and discarded calls.

Empty inputs use operation identities: product returns one, bitwise AND returns
all bits set at the element width, and sum/OR/XOR return zero. Opt into the
legacy all-zero behavior with SimulatorBuilder::legacy_empty_reductions(true)
or AnalysisOptions::legacy_empty_reductions. The setting is local to each
compilation and is encoded in the generated IR/native image. Nonempty results
are identical in both modes. The current TypeScript API has no direct SV source
compilation entry, so this option is exposed through Rust/frontend APIs.

Use balanced expression trees for fixed arrays and heap traversal loops for
dynamic containers. Add six shared cases across native, parallel native,
Cranelift, parallel Cranelift and WASM. API regressions alternate identical
source between default/legacy/default modes in two/four-state execution,
exercise mixed hierarchies and round-trip both modes through native images.
with expressions, iterator arguments, multidimensional unpacked receivers,
nonintegral elements and array expression receivers remain unsupported.

Five unmodified upstream reduction simulation cases pass the official sv-tests
runner in both state modes at revision db159ad8e9cbbd62036569d240153f753258f640.
Update exactly those ten expectations from fail to pass; preserve the other
3,290 rows. These upstream cases are nonempty and do not validate empty-input
semantics. This was a focused run, not a full-corpus rerun.

Rebase integration preserves the merged #2178 optional-parentheses support,
packed pop-result queries, discarded container calls and existing shared cases.

Validation:
- Common SV suite: 5,712 passed, 20 existing ignored. Latest container suite:
  141 passed, including the six shared cases and compatibility/image API tests.
- Analyzer/frontend/simulator units: 839 / 8 / 234 passed, with 3 existing
  analyzer ignores. Default-feature simulator units: 151 passed.
- Debug NAPI build and JS integration: 435 passed across 16 files.
- Official upstream reduction cases: 10 simulation passes using the release
  driver; expectation/runner aggregate tests: 5 passed.
- Affected-crate all-targets Clippy with -D warnings, cargo fmt --all -- --check
  and git diff --check passed.
- The full SV suite, affected units and Clippy above were rerun after rebasing
  onto master with #2178 and the #2171 analyzer optimization.
- The optional no-host check (--no-default-features --features systemverilog)
  fails in the unchanged SV parameter diagnostic: CodegenError::message is
  host-runtime-only. Host builds and standalone frontend units pass.

Independent checks retain their assertions and exclusions:
- Verilator 5.052: 1 pass, 2 mismatches, 1 compile error, 2 four-state adapter
  unsupported. Differences include the default empty identities (its empty
  product/AND return zero), fixed-array arithmetic widened by assignment or
  comparison context, and parser rejection of void-cast reduction calls.
- Icarus 13.0: all six have compile errors; no independent passes claimed.
- xezim 0.11.3: all six compile, 1 passes and 5 mismatch. Standalone probes
  reproduce negative-range fixed-array reduction, X/Z and packed query
  differences; its empty product is one but empty AND is zero.

BREAKING CHANGE: ContainerOp adds seven reduction variants. AnalysisOptions
and SimulatorOptions add a legacy_empty_reductions field; downstream exhaustive
matches and full struct literals must account for these additions.

Latest master synchronization preserves both reduction and logical-implication conformance notes. Revalidated 141 container tests including compatibility and native-image regressions, 839 analyzer tests (three existing ignores), affected-crate Clippy and formatting. Shared cases and external adapters are unchanged by this synchronization.

Change-Id: Iec0f1a95026120fdb95b50e2eccea9cfc86bed6e
Evaluate both operands exactly once and preserve four-state truth values. Six
generated sv-tests cases now pass in both state modes.

Validation: full sv-tests, operator and analyzer tests, Icarus and Verilator
focused cases, formatting and analyzer Clippy. Verilator 5.052 evaluates one
operand twice; retain a reviewed exclusion with a standalone reproduction.

Rebased onto master after #2201 merged and removed its obsolete dependency marker. Revalidated 305 operator tests across enabled backends, 839 analyzer tests (three existing ignores), analyzer Clippy, workspace check, title/queue policy tests and formatting. The existing zstd/zstd-safe advisory failures are unrelated to this PR and remain unresolved.

Change-Id: I918a75f01dff54bb45806788937909ae12075edb
@mergify mergify Bot closed this Oct 27, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/97f648b450 branch October 27, 2026 07:37
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