Skip to content

refactor(native): own emission state in the assembler - #1530

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/sv-conformance-gaps/own-emission-state-assembler--41d8a35b
Oct 19, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/sv-conformance-gaps/own-emission-state-assembler--41d8a35b

Conversation

@tignear

@tignear tignear commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Replace x86 emitter and external-call thread-local configuration with an
EmissionContext owned by each assembler. Operand and call emission receives
that context explicitly, keeping separate compilations independent.

Validation: 611 backend unit tests plus integration tests, 363 native consumer
tests including wide/four-state/parallel cases, and 12 native DPI tests pass.
All-target Clippy and formatting pass.

Depends-On: #1526

@tignear

tignear commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor Author

This pull request is part of a Mergify stack:

# Pull Request Link
1 docs(sv): separate the getting-started guide from the language reference #1522
2 fix(sv): handle Veryl-emitted interface declarations and calls #1525
3 fix(sv): preserve parameter overrides with explicit analysis state #1526
4 refactor(native): own emission state in the assembler #1530 👈
5 refactor(veryl)!: pass lowering state and dependency collectors explicitly #1531
6 refactor(vpi)!: own runtime state in an explicit VPI session #1532
7 chore(lint): prohibit thread-local state outside unit tests #1533

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-19T06:18:38.315785Z aef3c90 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@tignear tignear added the merge-ready Request merging through Mergify after required checks label Oct 19, 2026
@tignear
tignear force-pushed the stack/tignear/fix/sv-conformance-gaps/own-emission-state-assembler--41d8a35b branch from aef3c90 to bad3c8a Compare October 19, 2026 07:08
@tignear
tignear force-pushed the stack/tignear/fix/sv-conformance-gaps/preserve-wide-four-state-param-overrides--89b4e3dd branch from c89b44c to 061ed43 Compare October 19, 2026 07:08
@tignear

tignear commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor Author

Revision history

# Type Changes Reason Date
1 initial aef3c90 2026-10-19 07:08 UTC
2 rebase aef3c90 → bad3c8a (rebase only) Replay unchanged descendant after the CI catalogue assertion fix in #1525. 2026-10-19 07:08 UTC
3 rebase bad3c8a → 1a2c5f8 (rebase only) Replay unchanged descendant after the package call-site identity fix in #1526. 2026-10-19 07:35 UTC
4 rebase 1a2c5f8 → 8609a84 (rebase only) Replay unchanged native ownership change onto the resolved stack. 2026-10-19 08:34 UTC

@tignear
tignear force-pushed the stack/tignear/fix/sv-conformance-gaps/preserve-wide-four-state-param-overrides--89b4e3dd branch from 061ed43 to 95ad0a3 Compare October 19, 2026 07:35
@tignear
tignear force-pushed the stack/tignear/fix/sv-conformance-gaps/own-emission-state-assembler--41d8a35b branch from bad3c8a to 1a2c5f8 Compare October 19, 2026 07:35
Replace x86 emitter and external-call thread-local configuration with an
EmissionContext owned by each assembler. Operand and call emission receives
that context explicitly, keeping separate compilations independent.

Validation: 611 backend unit tests plus integration tests, 363 native consumer
tests including wide/four-state/parallel cases, and 12 native DPI tests pass.
All-target Clippy and formatting pass.

Change-Id: I41d8a35bf0f3b82c8ba804c7bccd3d7453e37ff6
@tignear
tignear force-pushed the stack/tignear/fix/sv-conformance-gaps/own-emission-state-assembler--41d8a35b branch from 1a2c5f8 to 8609a84 Compare October 19, 2026 08:35
@tignear
tignear force-pushed the stack/tignear/fix/sv-conformance-gaps/preserve-wide-four-state-param-overrides--89b4e3dd branch from 95ad0a3 to 3dcbf35 Compare October 19, 2026 08:35
@mergify mergify Bot added the queued Mergify queue entry label Oct 19, 2026
@mergify

mergify Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 2 hours 27 minutes 34 seconds in the queue, including 3 hours 55 minutes 30 seconds running CI.

Required conditions to merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • depends-on = celox-sim/celox#1526 [⛓️ fix(sv): preserve parameter overrides with explicit analysis state #1526]
  • 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

Base automatically changed from stack/tignear/fix/sv-conformance-gaps/preserve-wide-four-state-param-overrides--89b4e3dd to master October 19, 2026 12:20
@mergify
mergify Bot merged commit a50f84e into master Oct 19, 2026
35 of 56 checks passed
@mergify
mergify Bot deleted the stack/tignear/fix/sv-conformance-gaps/own-emission-state-assembler--41d8a35b branch October 19, 2026 12:46
@mergify mergify Bot removed the queued Mergify queue entry label Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-ready Request merging through Mergify after required checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant