tests: native_mesh_entry_registers_ir fails on main after #3838 and #3894 (wave-varying-branch) #3906

Closed
opened 2026-12-03 01:00:06 +00:00 by lukaslw-lab · 0 comments
lukaslw-lab commented 2026-12-03 01:00:06 +00:00 (Migrated from github.com)
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by lukaslw-lab on 2026-12-03T01:00:06Z.


native_mesh_entry_registers_ir fails on main since #3838 and #3894 both merged (main 2f2901cbd). Each PR passed on its own; together they disagree on one case.

Failing case wave-varying-branch in tests/native_mesh_entry_registers_check.py (lines 84–89)
Result AssertionError: ('wave-varying-branch', ''): the program translates, the test expects a refusal
Seen Windows CI on #3904 (run 47005435060), and locally at fead4acd5 (no mesh files changed vs 2f2901cbd)
Main CI runs on the merge commits of #3838 (2992acd2c) and #3839 were cancelled; 2f2901cbd still running
  • #3838 (2992acd2c) added the case: an SCC branch on the wave-index field, then v_readfirstlane_b32 v0, expected to be refused ("the wave field cannot prove group-wide control").
  • #3894 (9b2663ad5), merged 56 minutes earlier, removed exactly that group_flow condition: at a converged join under full EXEC, lane 0 is active in every wave and every wave reaches the shared-memory barrier, so the read is lowered as the per-wave broadcast (meshReadFirstLane…).
  • Every open PR's Windows job fails on this test until it is resolved.

Proposal: follow #3894, since its argument covers this program (the read is after the join, under full EXEC). Change the case to expect the translation with a shared broadcast, as root-uniform-branch right below it already does, and keep a refused variant under a narrowed EXEC (as #3894's v_cmpx control does in native_direct_mesh_check.py). If group-wide control after a wave-index branch is still meant to be required, the gate belongs back in lower_mesh instead. @timbot103 @lambirou, your call which.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6757995421 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/3906). Originally posted by [lukaslw-lab](https://github.com/lukaslw-lab) on 2026-12-03T01:00:06Z. --- `native_mesh_entry_registers_ir` fails on `main` since #3838 and #3894 both merged (main `2f2901cbd`). Each PR passed on its own; together they disagree on one case. | | | |---|---| | Failing case | `wave-varying-branch` in `tests/native_mesh_entry_registers_check.py` (lines 84–89) | | Result | `AssertionError: ('wave-varying-branch', '')`: the program translates, the test expects a refusal | | Seen | Windows CI on #3904 (run `47005435060`), and locally at `fead4acd5` (no mesh files changed vs `2f2901cbd`) | | Main CI | runs on the merge commits of #3838 (`2992acd2c`) and #3839 were cancelled; `2f2901cbd` still running | - #3838 (`2992acd2c`) added the case: an SCC branch on the wave-index field, then `v_readfirstlane_b32 v0`, expected to be refused ("the wave field cannot prove group-wide control"). - #3894 (`9b2663ad5`), merged 56 minutes earlier, removed exactly that `group_flow` condition: at a converged join under full EXEC, lane 0 is active in every wave and every wave reaches the shared-memory barrier, so the read is lowered as the per-wave broadcast (`meshReadFirstLane…`). - Every open PR's Windows job fails on this test until it is resolved. **Proposal:** follow #3894, since its argument covers this program (the read is after the join, under full EXEC). Change the case to expect the translation with a shared broadcast, as `root-uniform-branch` right below it already does, and keep a refused variant under a narrowed EXEC (as #3894's `v_cmpx` control does in `native_direct_mesh_check.py`). If group-wide control after a wave-index branch is still meant to be required, the gate belongs back in `lower_mesh` instead. @timbot103 @lambirou, your call which. AI-assisted.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows#3906
No description provided.