Skip to content

merge queue: checking #2231 + #2232 + #2233 together on master (89b46b1) - #2268

Closed
mergify[bot] wants to merge 6 commits into
masterfrom
mergify/merge-queue/5d23ac5a30
Closed

mergify[bot] wants to merge 6 commits into
masterfrom
mergify/merge-queue/5d23ac5a30

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 ripe-reblochon-0815kh of the changes queue, to test #2231, #2232 and #2233 before they merge into master. Pushing to this branch or closing this pull request removes them from the queue.

What this draft tests

Mergify checks that #2231, #2232 and #2233 still pass CI on top of master. CI runs on this draft's code, built in this order:

  1. master at 89b46b1
  2. #2231 + #2232 + #2233, the pull requests of this batch, tested together as one tip

🎉 Where it stands: checks passed

CI passed on this draft.

Follow the changes queue in the dashboard

What happens next

Metadata for CI tooling, read by mergify ci
---
all_scopes: false
checking_base_sha: 89b46b10dc70e364df76417aae66f6f85484307b
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 2231
    scopes:
      - core
  - number: 2232
    scopes:
      - core
  - number: 2233
    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#2232 [⛓️ perf(native): share large comb kernels and bound compilation memory #2232]
  • 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
    3757c0c69f0241f5a597fcfabf2c40c8["ripe-reblochon-0815kh<br/>#2231 + #2232 + #2233<br/>scopes: core"]
    53618312d48c42bd8f69369b5f782476["tall-caramel-nu7ugq<br/>#2234<br/>scopes: core"]
    7a48b15327504d4394ecabf5ffbd1af3["worthwhile-parisbrest-6ejm4r<br/>#2265 + #2264<br/>scopes: core"]
    3757c0c69f0241f5a597fcfabf2c40c8 --> 53618312d48c42bd8f69369b5f782476
    53618312d48c42bd8f69369b5f782476 --> 7a48b15327504d4394ecabf5ffbd1af3
    style 3757c0c69f0241f5a597fcfabf2c40c8 fill:#6366f1,color:#fff
Loading

tignear and others added 6 commits October 27, 2026 18:18
Add an internal image-local call ABI with a hidden state pointer, signed status propagation, and preservation of pinned host state. Treat these callees as opaque state effects in SIR memory passes and invalidate cached load origins across calls. Ordinary DPI imports keep their existing ABI.

Validation: SIR, optimizer and x86 unit suites; native-call regressions cover zero, positive and negative status values, pinned R15/GS state, tick-loop state and live vector values. Memory regressions prevent forwarding or reloading overwritten state across a kernel call. Owning-crate clippy and formatting pass.
Generated-kernel callers now require explicit complete callee arena bounds; emission without them is rejected. The direct emit_with_callees entry and X86BackendOptions::with_native_callees reserve the caller above every callee's full required_state_size, including nested reservations. Existing explicit arena placements remain supported by the prepared pipeline.

A regression reproduced the review finding with two generated functions emitted at the same 4096-byte semantic state size: the caller's last seven spilled values became zero. The fixed test supplies the actual emitted callee extent. Three-level generated call regressions force spills at every level, cover R15/GS and tick-loop entry, propagate zero, positive and wide negative status values, and reject missing or overflowing arena bounds. All 623 x86 unit tests and owning-crate clippy pass.

Change-Id: Ia444d9f7754e3f118e5a3945b32360c2acd7298d
Large derived-edge process entries copied the complete combinational SIR before compilation. Retain deferred recipes, compile the large comb kernel once, and expand, compile and release one wrapper per bounded worker. Existing comb execution units compile separately with preserved cross-unit state and a thin ordered dispatcher. Other backends and tiered startup retain their existing eager path.

Worker selection accounts for host, cgroup and address-space limits with bounded concurrency and deterministic result/error order. Reserve callee scratch before wrapper arenas and retain kernel offsets in native images; the container version advances to 48, so older images must be rebuilt.

Validation: native library and image, completion, partition, tiered and scheduled-startup APIs; eager/deferred equivalence and merged/chunked image roundtrips with handwritten expected values. Owning-crate clippy, no-host configurations and formatting pass. Full-stack unchanged Taxi board benchmarks and common regressions are recorded in the top member.
Generated callers use X86BackendOptions::with_native_callees with the emitted full child extents. This shares the ABI primitive's arena reservation contract and preserves explicitly higher arena placements. Revalidated independently after the arena review fix: 239 native library tests, 41 image/completion/partition/tiered/startup API tests and owning-crate clippy pass.

Change-Id: I4dad9216b84cffc3c1a2b503adad4be8f83a366c
Retain instance-local interface value parameters and localparams using declaration provenance, including indexed interface handles and authored dollar identifiers. Preserve package ownership. Build lexical generate scope prefixes for reflection separately from execution and VCD instance paths, inheriting timescales from the nearest real ancestor.

The image container advances to version 49 for serialized lexical scope metadata. Validation covers specialized read-only parameters, escaped identifiers, interface arrays, generate iteration, timescales and native image roundtrips. Frontend, VPI and native library suites, owning-crate lint and formatting pass. This makes the unchanged original board tests discover all actual traffic models instead of passing with an empty MAC list.

Keep the class-specialization depth guard reachable on the default stack:
separate parameter binding, inherited-base resolution and body construction,
with pending specialization metadata owned on the heap. Large temporary
binding frames no longer accumulate across recursive inheritance. Preserve
the existing depth-64 limit and diagnostics; test legitimate deep inheritance
and a nonterminating specialization on an explicit 2 MiB thread stack.

Validation after rebasing onto master 626dc7c: reproduce the CI SIGABRT
with its full comparison-feature configuration, then pass the same test
with the fix. All 842 analyzer unit tests (3 existing ignored), 372 class
integration tests, 57 VPI tests, analyzer clippy and formatting pass.
The host-runtime-disabled SystemVerilog build also passes.

Change-Id: I3d0a6f889f3bc98503bbad44ab3bef8f52cab9c9
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