Skip to content

Conversation

s-perron
Copy link
Collaborator

@s-perron s-perron commented Sep 6, 2025

The interface variable SROA pass can fail to create new variables and
instructions if the module runs out of ids. This can lead to a crash.

This change modifies the pass to check if new ids can be created. If
not, the pass will be aborted and return a failure.

The interface variable SROA pass can fail to create new variables and
instructions if the module runs out of ids. This can lead to a crash.

This change modifies the pass to check if new ids can be created. If
not, the pass will be aborted and return a failure.
@s-perron s-perron enabled auto-merge September 11, 2025 19:51
@s-perron s-perron merged commit 33b1bcb into KhronosGroup:main Sep 11, 2025
26 checks passed
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.

3 participants