shader: lower whole-wave OR reductions to subgroup reductions (ASTRO BOT) #1962

Closed
github-bot wants to merge 1 commit from gh-pr/1962/head into gh-pr/1962/base
Owner

@⁠Nawid3333 on GitHub · 2026-10-28 16:35 UTC · original
Nawid3333:fix/wave-or-reduction → main · +154 −53 · 8 files · 1 commits · closed without merging

ASTRO BOT ORs per-pixel bit masks across the wave with the idiom 302240da and 6357740f lower for UMin/UMax:
s_orn2_saveexec, v_cndmask with 0 for the lanes outside the saved mask, v_or_b32 with DPP row_shr
1/2/4/8, v_permlanex16_b32 + v_or_b32 (wave64), then v_readlane of lanes 31 and 63 (wave64) or 15 and 31
(wave32) and s_or_b32. The matcher only takes UMin/UMax, so for OR the shuffles stay, and in a partly filled
fragment subgroup (or a 32-wide one for wave64) they read invocations that don't exist.

This adds BitwiseOr32 to EliminateReadLane (one SubgroupReduction() map for the three operations) and emits
OpGroupNonUniformBitwiseOr through EmitSubgroupReduceU32.

ASTRO BOT (PPSA21564, RX 9070 XT, AMD 26.10.1, Windows): 6c014018 with and without this change, three
5-minute runs each from boot into the first area with the same input script. Both builds also carry my lab-only
input-script player and a 65536-iteration shader loop cap that I use for ASTRO BOT runs since #1511.

  • With the change the log shows read-lane elimination: reads=0 reductions=1 for 18 pixel shaders, among them
    16f9df575a3aa74f (wave64) and 5457609506174517 (wave32). On main there is no such line.
  • No fatal error and no device loss with either build. The runs that got past loading compile the same 257
    shaders and their screenshots show the same scenes.
  • Three of the six runs (one with the change, two without) stopped at the same point of the loading screen after
    127 shaders. That happens with and without this change, so it is a separate problem.

Tests:

  • GraphicsSparseWaveOr (the shape of GraphicsSparseWaveMinimum, one quad): main returns values that change
    between runs (0x3f17dc04, 0x66e84e9f, 0x3e7 at 64 lanes; 0x24041c04, 0x1f, 0x516c2b9a at 32 lanes) instead
    of 0x3e800000. It passes with the change.
  • ComputeWave64Or/OrMasked, and ComputeWave32OrSavedExec/ComputeWave64OrSavedExec with ASTRO BOT's EXEC
    sequence (save to an SGPR, v_cmpx and branches, restore, s_orn2_saveexec of the SGPR), require
    OpGroupNonUniformBitwiseOr and the exact value; they fail on main.
  • ScalarProvenance: the OR forms in both shapes, and a UMin scan joined by OR that must not match.
  • The cases above pass with 64-lane subgroups, with 32-lane fragment subgroups, and with 32-lane fragment and
    compute subgroups (wave64 compute split in halves). In the first and the last mode the full
    shader_recompiler_compute_tests suite has no other change against main. shader_cfg_tests passes.

#1503, my older #1570 and #1898 also lower the OR form. This one only adds OR to the matcher as it is after
6357740f/ce5e57aa, and it is tested in the game. If you'd rather take one of the others, close this one.

AI use: Claude Code found the idiom in the shader dumps, wrote the change and the tests, and ran them and the
game runs on my PC; I read the change and the results before opening this.

**@⁠Nawid3333** on GitHub · 2026-10-28 16:35 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1962) `Nawid3333:fix/wave-or-reduction` → `main` · +154 −53 · 8 files · 1 commits · closed without merging ASTRO BOT ORs per-pixel bit masks across the wave with the idiom 302240da and 6357740f lower for UMin/UMax: `s_orn2_saveexec`, `v_cndmask` with 0 for the lanes outside the saved mask, `v_or_b32` with DPP row_shr 1/2/4/8, `v_permlanex16_b32` + `v_or_b32` (wave64), then `v_readlane` of lanes 31 and 63 (wave64) or 15 and 31 (wave32) and `s_or_b32`. The matcher only takes UMin/UMax, so for OR the shuffles stay, and in a partly filled fragment subgroup (or a 32-wide one for wave64) they read invocations that don't exist. This adds BitwiseOr32 to `EliminateReadLane` (one `SubgroupReduction()` map for the three operations) and emits `OpGroupNonUniformBitwiseOr` through `EmitSubgroupReduceU32`. ASTRO BOT (PPSA21564, RX 9070 XT, AMD 26.10.1, Windows): 6c014018 with and without this change, three 5-minute runs each from boot into the first area with the same input script. Both builds also carry my lab-only input-script player and a 65536-iteration shader loop cap that I use for ASTRO BOT runs since #1511. - With the change the log shows `read-lane elimination: reads=0 reductions=1` for 18 pixel shaders, among them 16f9df575a3aa74f (wave64) and 5457609506174517 (wave32). On main there is no such line. - No fatal error and no device loss with either build. The runs that got past loading compile the same 257 shaders and their screenshots show the same scenes. - Three of the six runs (one with the change, two without) stopped at the same point of the loading screen after 127 shaders. That happens with and without this change, so it is a separate problem. Tests: - `GraphicsSparseWaveOr` (the shape of `GraphicsSparseWaveMinimum`, one quad): main returns values that change between runs (0x3f17dc04, 0x66e84e9f, 0x3e7 at 64 lanes; 0x24041c04, 0x1f, 0x516c2b9a at 32 lanes) instead of 0x3e800000. It passes with the change. - `ComputeWave64Or`/`OrMasked`, and `ComputeWave32OrSavedExec`/`ComputeWave64OrSavedExec` with ASTRO BOT's EXEC sequence (save to an SGPR, `v_cmpx` and branches, restore, `s_orn2_saveexec` of the SGPR), require `OpGroupNonUniformBitwiseOr` and the exact value; they fail on main. - ScalarProvenance: the OR forms in both shapes, and a UMin scan joined by OR that must not match. - The cases above pass with 64-lane subgroups, with 32-lane fragment subgroups, and with 32-lane fragment and compute subgroups (wave64 compute split in halves). In the first and the last mode the full `shader_recompiler_compute_tests` suite has no other change against main. `shader_cfg_tests` passes. #1503, my older #1570 and #1898 also lower the OR form. This one only adds OR to the matcher as it is after 6357740f/ce5e57aa, and it is tested in the game. If you'd rather take one of the others, close this one. AI use: Claude Code found the idiom in the shader dumps, wrote the change and the tests, and ran them and the game runs on my PC; I read the change and the results before opening this.
Games OR a bit mask across the wave with the same scan that the UMin/UMax
lowering matches (s_orn2_saveexec, v_cndmask, DPP row_shr 1/2/4/8, wave64
v_permlanex16, readlane of both half-wave ends, s_or). The shuffles read
invocations that a partly filled or 32-wide host subgroup does not have.
Match it for BitwiseOr32 too and emit OpGroupNonUniformBitwiseOr.

Seen in ASTRO BOT pixel shaders, e.g. 16f9df575a3aa74f (wave64) and
5457609506174517 (wave32).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:10:12 +00:00
github-bot closed this pull request 2026-11-26 10:10:12 +00:00
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-10-28 16:47 UTC · original

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 6c01401862 and 3da2b1a773.

Files selected for processing: 8
  • src/graphics/shader/recompiler/backend/spirv/spirvEmitterFlow.cpp
  • src/graphics/shader/recompiler/backend/spirv/spirvEmitterInstructions.h
  • src/graphics/shader/recompiler/backend/spirv/spirvEmitterProgram.cpp
  • src/graphics/shader/recompiler/ir/opcodes/ValueOpcodes.inc
  • src/graphics/shader/recompiler/ir/passes/ReadLaneElimination.cpp
  • src/graphics/shader/recompiler/ir/passes/ShaderInfoCollection.cpp
  • tests/ScalarProvenanceTests.cpp
  • tests/ShaderRecompilerComputeTests.cpp

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Walkthrough

The IR reduction pass now recognizes bitwise-OR reductions and rewrites accepted cases to a subgroup opcode. The SPIR-V backend emits that opcode through the shared reduction helper. Tests cover OR reductions with different masks and wave sizes. The second-half result-sharing condition now includes ReadConstBuffer.

Suggested reviewers: nmzik, claxten10, senaxx

Priority: Normal

Change: Bug fix

Merge Risk: Minimal · up to 3da2b

No confirmed issue blocks merging after normal checks.

Pre-merge checks: Passed 4 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Docstring Coverage Inconclusive Docstring coverage is 33.33% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documenta… Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Description check Passed The description directly explains the whole-wave OR reduction issue, the matcher and SPIR-V changes, test coverage, and ASTRO BOT validation.
Title check Passed The title clearly and concisely identifies the main change: lowering whole-wave OR reductions to subgroup reductions.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

Docstring coverage is 33.33% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 6 functions across 6 files. (2 skipped: 1 unsupported, 1 too large.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

Cppcheck (2.22.0)
tests/ScalarProvenanceTests.cpp

Cppcheck timed out; analysis of this file is incomplete

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

**@⁠coderabbitai[bot]** on GitHub · 2026-10-28 16:47 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1962#issuecomment-6475046865) <!-- coderabbit-ai-generated:v1 --> <!-- This is an auto-generated comment: summarize by coderabbit.ai --> <!-- review_stack_entry_start --> <a href="https://app.coderabbit.ai/change-stack/KytyPS5/KytyPS5/pull/1962?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&amp;cs_source=review_comment"><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui-dark.svg?v=3"><source media="(prefers-color-scheme: light)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg?v=3"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg?v=3" alt="Review in Change Stack →" height="32"></picture></a> <!-- review_stack_entry_end --> <!-- recent_review_start --> No actionable comments were generated in the recent review. <details> <summary><strong><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/info.svg" width="16" height="16" align="absmiddle" alt=""></picture> Recent review info</strong></summary> <dl> <dd> <!-- review_info_content --> <details> <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog.svg" width="16" height="16" align="absmiddle" alt=""></picture> Run configuration</strong></summary> <dl> <dd> - **Source mode**: Auto - **Repository**: [KytyPS5/KytyPS5](<https://github.com/KytyPS5/KytyPS5>) - **Branch**: [main](<https://github.com/KytyPS5/KytyPS5/tree/main>) - **File**: [.coderabbit.yaml](<https://github.com/KytyPS5/KytyPS5/blob/6c0140186250a9ac7ed50786b2426271750a7a20/.coderabbit.yaml>) - **Commit**: [6c01401](<https://github.com/KytyPS5/KytyPS5/commit/6c0140186250a9ac7ed50786b2426271750a7a20>) - **Layers**: Repository YAML - **Review profile**: CHILL - **Plan**: Advanced - **Run ID**: `0ca2048b-2771-4094-a0be-d3e52e150d20` </dd> </dl> </details> <details> <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal.svg" width="16" height="16" align="absmiddle" alt=""></picture> Commits</strong></summary> <dl> <dd> Reviewing files that changed from the base of the PR and between 6c0140186250a9ac7ed50786b2426271750a7a20 and 3da2b1a7731652144a605b82d2e9c07358804323. </dd> </dl> </details> <details> <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner.svg" width="16" height="16" align="absmiddle" alt=""></picture> Files selected for processing: 8</strong></summary> <dl> <dd> * `src/graphics/shader/recompiler/backend/spirv/spirvEmitterFlow.cpp` * `src/graphics/shader/recompiler/backend/spirv/spirvEmitterInstructions.h` * `src/graphics/shader/recompiler/backend/spirv/spirvEmitterProgram.cpp` * `src/graphics/shader/recompiler/ir/opcodes/ValueOpcodes.inc` * `src/graphics/shader/recompiler/ir/passes/ReadLaneElimination.cpp` * `src/graphics/shader/recompiler/ir/passes/ShaderInfoCollection.cpp` * `tests/ScalarProvenanceTests.cpp` * `tests/ShaderRecompilerComputeTests.cpp` </dd> </dl> </details> **Included review availability:** This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review. </dd> </dl> </details> <!-- recent_review_end --> <!-- walkthrough_start --> <details> <summary><strong>Walkthrough</strong></summary> <dl> <dd> The IR reduction pass now recognizes bitwise-OR reductions and rewrites accepted cases to a subgroup opcode. The SPIR-V backend emits that opcode through the shared reduction helper. Tests cover OR reductions with different masks and wave sizes. The second-half result-sharing condition now includes `ReadConstBuffer`. **Suggested reviewers:** `nmzik`, `claxten10`, `senaxx` </dd> </dl> </details> <!-- walkthrough_end --> <!-- change_assessment_start --> <strong>Priority: <picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/priority-normal-16.svg" width="16" height="16" align="absmiddle" alt=""></picture> Normal</strong> <!-- change_assessment_commit:"3da2b1a7731652144a605b82d2e9c07358804323" --> **Change:** Bug fix <!-- change_assessment_end --> <details> <summary><strong>Merge Risk:</strong> <strong><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/risk-unassessed-16.svg" width="16" height="16" align="absmiddle" alt=""></picture> Minimal</strong> · up to <code>3da2b</code></summary> <dl> <dd> <!-- final_review_risk_start --> <!-- final_review_risk_label **Merge Risk:** **⚪ Minimal** · up to `3da2b` --> <!-- final_review_risk_coverage:{"sourceCommitId":"3da2b1a7731652144a605b82d2e9c07358804323","coveredCommitId":"3da2b1a7731652144a605b82d2e9c07358804323","kind":"reviewed"} --> No confirmed issue blocks merging after normal checks. <!-- final_review_risk_end --> </dd> </dl> </details> <!-- pre_merge_checks_walkthrough_start --> <details> <summary><strong>Pre-merge checks: <sup><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-counter-passed-14-v2.svg" width="14" height="14" align="middle" alt="Passed" title="Passed"></picture></sup> 4 · <sup><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-counter-inconclusive-14-v2.svg" width="14" height="14" align="middle" alt="Inconclusive" title="Inconclusive"></picture></sup> 1</strong></summary> <dl> <dd> <strong><sup><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-counter-failed-14-v2.svg" width="14" height="14" align="middle" alt="Failed" title="Failed"></picture></sup> Failed checks: 1 inconclusive</strong> | Check name | Status | Explanation | Resolution | | :---------------- | :--------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------- | | Docstring Coverage | ![Inconclusive](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-inconclusive.svg) | Docstring coverage is 33.33% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documenta… | Write docstrings for the functions missing them to satisfy the coverage threshold. | <details> <summary><strong><sup><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-counter-passed-14-v2.svg" width="14" height="14" align="middle" alt="Passed" title="Passed"></picture></sup> Passed checks: 4 passed</strong></summary> <dl> <dd> | Check name | Status | Explanation | | :------------------------ | :--------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------- | | Description check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | The description directly explains the whole-wave OR reduction issue, the matcher and SPIR-V changes, test coverage, and ASTRO BOT validation. | | Title check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | The title clearly and concisely identifies the main change: lowering whole-wave OR reductions to subgroup reductions. | | Linked Issues check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | Check skipped because no linked issues were found for this pull request. | | Out of Scope Changes check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | Check skipped because no linked issues were found for this pull request. | </dd> </dl> </details> <details> <summary><strong>Full details: Docstring Coverage</strong></summary> <dl> <dd> **Explanation** Docstring coverage is 33.33% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 6 functions across 6 files. (2 skipped: 1 unsupported, 1 too large.) **Resolution** Write docstrings for the functions missing them to satisfy the coverage threshold. </dd> </dl> </details> </dd> </dl> </details> <!-- pre_merge_checks_walkthrough_end --> <!-- autopilot:start --> - [ ] <!-- {"checkboxId":"2708ad07-9f24-4260-9c11-7dc76a49f2e3"} --> <strong title="Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts">Autofix</strong> · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts <!-- autopilot:end --> <!-- This is an auto-generated comment: all tool run failures by coderabbit.ai --> > [!WARNING] > Some tools did not complete. Review the errors below. > > <details> > <summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/wrench-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/wrench.svg" width="16" height="16" align="absmiddle" alt=""></picture> Cppcheck (2.22.0)</strong></summary> > <dl> > <dd> > > <details> > <summary><strong>tests/ScalarProvenanceTests.cpp</strong></summary> > <dl> > <dd> > > Cppcheck timed out; analysis of this file is incomplete > > </dd> > </dl> > </details> > > </dd> > </dl> > </details> <!-- end of auto-generated comment: all tool run failures by coderabbit.ai --> <!-- tips_start --> Thanks for using [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=KytyPS5/KytyPS5&utm_content=1962)! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. <details> <summary><strong>❤️ Share</strong></summary> <dl> <dd> - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code) </dd> </dl> </details> <sub>Comment `@coderabbitai help` to get the list of available commands.</sub> <!-- tips_end -->
Author
Owner

@⁠Nawid3333 on GitHub · 2026-10-30 19:38 UTC · original

Closing this: main does the same since 0c2546e8 ("shader: lower whole-wave OR scans to subgroup reductions"), apart from names. It adds BitwiseOr32 to the same reduction switch in ReadLaneElimination.cpp, emits it as OpGroupNonUniformBitwiseOr, and adds the same entries for both halves of a wave64 and for subgroup_arithmetic.

Some tests here are not on main (among them OR in wave32, OR under a partial EXEC, the ASTRO BOT saved-EXEC pattern, and a check that OpGroupNonUniformBitwiseOr is emitted). They can go in a small follow-up if you want them.

**@⁠Nawid3333** on GitHub · 2026-10-30 19:38 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1962#issuecomment-6531913928) Closing this: main does the same since 0c2546e8 ("shader: lower whole-wave OR scans to subgroup reductions"), apart from names. It adds `BitwiseOr32` to the same reduction switch in `ReadLaneElimination.cpp`, emits it as `OpGroupNonUniformBitwiseOr`, and adds the same entries for both halves of a wave64 and for `subgroup_arithmetic`. Some tests here are not on main (among them OR in wave32, OR under a partial EXEC, the ASTRO BOT saved-EXEC pattern, and a check that `OpGroupNonUniformBitwiseOr` is emitted). They can go in a small follow-up if you want them.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.