Skip to content

[SPIRV] Switch SPIR-V to module-scope pipeline.#23998

Open
hanhanW wants to merge 2 commits intomainfrom
users/hanhanW/update-spirv-pipeline-order
Open

[SPIRV] Switch SPIR-V to module-scope pipeline.#23998
hanhanW wants to merge 2 commits intomainfrom
users/hanhanW/update-spirv-pipeline-order

Conversation

@hanhanW
Copy link
Copy Markdown
Contributor

@hanhanW hanhanW commented Apr 2, 2026

The revision moves the variant-scope passes to the boundary of pipelines, and the actual codegen works on module-scope after the change. The pipeline tests are adapted, so there are no hal.variant op involved.

It also fixes a long-due TODO in HALInterfaceLoadConstantConverter.

@hanhanW hanhanW force-pushed the users/hanhanW/modernize-gpu-pipeline-tests-v3 branch from f50359f to c3066b5 Compare April 2, 2026 18:06
@hanhanW hanhanW force-pushed the users/hanhanW/update-spirv-pipeline-order branch from 2ba74a2 to 2028e8b Compare April 2, 2026 19:28
@hanhanW hanhanW force-pushed the users/hanhanW/modernize-gpu-pipeline-tests-v3 branch from c3066b5 to a678c97 Compare April 2, 2026 19:29
@hanhanW hanhanW changed the base branch from users/hanhanW/modernize-gpu-pipeline-tests-v3 to users/hanhanW/fix-spirv-convert-gpu-target April 2, 2026 21:26
Base automatically changed from users/hanhanW/fix-spirv-convert-gpu-target to main April 3, 2026 19:28
@hanhanW hanhanW force-pushed the users/hanhanW/update-spirv-pipeline-order branch from 2028e8b to 20deb6f Compare April 3, 2026 21:27
@hanhanW hanhanW changed the title Switch SPIR-V to module-scope pipeline. [SPIRV] Switch SPIR-V to module-scope pipeline. Apr 3, 2026
Signed-off-by: hanhanW <hanhan0912@gmail.com>
@hanhanW hanhanW force-pushed the users/hanhanW/update-spirv-pipeline-order branch from 20deb6f to 0ad12ef Compare April 3, 2026 21:31
@hanhanW
Copy link
Copy Markdown
Contributor Author

hanhanW commented Apr 3, 2026

Similar to other patches, it is much easier to review the lit tests part, if you enable "hide whitespace" option.

image

@hanhanW hanhanW marked this pull request as ready for review April 3, 2026 21:32
@hanhanW hanhanW requested a review from kuhar as a code owner April 3, 2026 21:32
Signed-off-by: hanhanW <hanhan0912@gmail.com>
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