Skip to content

Recompiler: isolate safe barrier cache policy - #253

Draft
bmjask wants to merge 1 commit into
stack/248-backedge-loop-phisfrom
stack/250-safe-barrier-policy
Draft

bmjask wants to merge 1 commit into
stack/248-backedge-loop-phisfrom
stack/250-safe-barrier-policy

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #252.

This is an internal draft stack in bmjask/xcl; it is not an upstream merge request.

What and why

This unit isolates recompiler: isolate safe barrier cache policy as one reviewable step in the redesign.

What is in it

  • c94d3528 is part of this logical unit.

Tested

The complete rewritten tail was verified tree-identical to integrated commit 963dcdca. Tests were not rerun during stack packaging.

Regression run

Not run during stack packaging.

Not tested

  • Windows MSVC build and test suite
  • D3D12 GPU execution
  • scripts/smoke.ps1 main/head comparison

AI use

Codex, GPT-5.6-sol, rebased the existing logical change onto the cleaned stack, verified final tree identity, created the stack branch, and drafted this description.

@bmjask
bmjask force-pushed the stack/249-two-pass-cache-adapt branch from 74bb4b1 to db7d976 Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/250-safe-barrier-policy branch from c94d352 to 72ef239 Compare November 27, 2026 00:46
@bmjask
bmjask changed the base branch from stack/249-two-pass-cache-adapt to stack/248-backedge-loop-phis November 27, 2026 00:47
@bmjask
bmjask force-pushed the stack/248-backedge-loop-phis branch from 5e40d06 to c0b0932 Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/250-safe-barrier-policy branch from 72ef239 to 1f5cacf Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/248-backedge-loop-phis branch from c0b0932 to efc8341 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/250-safe-barrier-policy branch 3 times, most recently from aba7803 to aa4e38d Compare November 27, 2026 12:44
@bmjask
bmjask force-pushed the stack/248-backedge-loop-phis branch from 399f5d9 to 8787bf4 Compare November 27, 2026 12:52
@bmjask
bmjask force-pushed the stack/250-safe-barrier-policy branch from aa4e38d to 81407b1 Compare November 27, 2026 12:52
Disable translated-shader caching whenever XCL_SAFE_BARRIER is set because the override changes direct-backend admission and generated barriers. Cover physical-wave boundaries, native wave32 mesh groups, and the explicit unsafe override.

Checked with cargo check for the Windows GNU target across library, tests, and benches.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/250-safe-barrier-policy branch from 81407b1 to f9f1762 Compare November 28, 2026 01:35
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

@github-actions github-actions Bot added the stale label Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant