Skip to content

Conversation

@sarnex
Copy link
Contributor

@sarnex sarnex commented Jun 13, 2023

In SPIRVReader, we erase unused functions pretty late, but we were applying the ExtInst for --spirv-preserve-auxdata after that, causing us to try to work on a deleted function which lead to a crash.

This isn't a problem for the SPIRVWriter case because the unused function deletion happens way earlier.

In SPIRVReader, we erase unused functions pretty late, but we were applying
the ExtInst for `--spirv-preserve-auxdata` after that, causing us to try
to work on a deleted function which lead to a crash.

This isn't a problem for the SPIRVWriter case because the unused function
deletion happens way earlier.

Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
@sarnex
Copy link
Contributor Author

sarnex commented Jun 13, 2023

The in-tree failures do not seem related.

@sarnex sarnex marked this pull request as ready for review June 13, 2023 20:24
@asudarsa
Copy link
Contributor

@MrSidims, @vmaksimo @LU-JOHN

Please take a look.

Thanks

@MrSidims MrSidims merged commit 9823690 into KhronosGroup:main Jun 19, 2023
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