Skip to content

Conversation

s-perron
Copy link
Collaborator

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

The merge return pass can fail to create new basic blocks 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 for the current function.

The merge return pass can fail to create new basic blocks 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 for the current function.
@s-perron s-perron requested a review from luciechoi September 6, 2025 16:31
@s-perron s-perron merged commit 6ff723f into KhronosGroup:main Sep 10, 2025
22 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.

2 participants