Skip to content

merge queue: merged #4387: perf(sv): keep the packed dimensions of a scope's parameters as they are declared - #4404

Closed
mergify[bot] wants to merge 2 commits into
masterfrom
mergify/merge-queue/28cfab6f60
Closed

mergify[bot] wants to merge 2 commits into
masterfrom
mergify/merge-queue/28cfab6f60

Conversation

@mergify

@mergify mergify Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is a merge queue draft opened by Mergify. Its pull request has merged, and nobody needs to act on it.
Mergify opened it for batch exultant-banon-vveecu of the changes queue, to test #4387 before it merged into master.

🎉 What landed

Mergify merged its pull request into master, then closed this draft:

  • #4387 perf(sv): keep the packed dimensions of a scope's parameters as they are declared (tignear), as 3e0c907

This draft's code was built in this order:

  1. master at 0dab54a
  2. #4387, the pull request of this batch
Metadata for CI tooling, read by mergify ci
---
all_scopes: false
checking_base_sha: 0dab54a179bfbc26ea82f5d06922db6a2c9f5ca8
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 4387
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • check-success = Verify workflow lockfile
  • 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/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/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Queue validation
    • check-neutral = @github-actions/Queue validation
    • check-skipped = @github-actions/Queue validation
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Verify workflow lockfile
    • check-neutral = @github-actions/Verify workflow lockfile
    • check-skipped = @github-actions/Verify workflow lockfile
Required conditions to stay in the queue

tignear and others added 2 commits November 19, 2026 13:21
…are declared

Each parameter declaration built the packed dimensions of every parameter
the scope imports and of every one it had declared so far, for the
contexts that bind its value and its type: as many tables as the scope has
parameters, each as large as its packages' parameters. BlackParrot's
modules import the parameters of large configuration packages and declare
many of their own, so the copies of the dimensions of members of packed
structures were a large part of its discovery.

The parameter environment of a scope now builds the dimensions of the
imported parameters once, for the imported symbols they come from, and
each declaration adds those of the scope's parameters to a shared copy.

BlackParrot (1x1 cmark) builds with 7.7% fewer instructions than on
master (2,731.1 G to 2,521.3 G, perf stat instructions:u).

A unit test checks that the environment gives the dimensions of
`parameter_packed_dimensions_with_imported` for every prefix of a scope's
parameters, with shadowed imported ones, through two tables of imported
symbols. A first version that updated the table as parameters were
declared broke BlackParrot ("constant cast operand") while the suites
passed; BlackParrot's build is this change's regression check, and the
nightly CodSpeed BlackParrot case (#4380) compiles it. Reducing that
shape to a small regression test is #4384.

Change-Id: I3afed5e1f43e5fc3656adb19bc67c23a86b61575
@mergify mergify Bot changed the title merge queue: checking #4387 on master (0dab54a) merge queue: merged #4387: perf(sv): keep the packed dimensions of a scope's parameters as they are declared Nov 19, 2026
@mergify mergify Bot closed this Nov 19, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/28cfab6f60 branch November 19, 2026 06: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