Skip to content

spirv-opt: Suppress assertion error for 16 bit integer extended instructions in CCP pass - #6287

Merged
luciechoi merged 2 commits into
KhronosGroup:mainfrom
luciechoi:assertion
Sep 2, 2025
Merged

luciechoi merged 2 commits into
KhronosGroup:mainfrom
luciechoi:assertion

Conversation

@luciechoi

Copy link
Copy Markdown
Collaborator

Suppress assertion errors in constant propagation pass when non-32 bit integers are used with extended instructions. (Resolves microsoft/DirectXShaderCompiler#7691)

@luciechoi
luciechoi requested a review from s-perron September 2, 2025 16:57

@s-perron s-perron left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just a small suggestion for the comment. You can merge anytime you like.

Comment thread source/opt/ccp_pass.cpp Resolved
Co-authored-by: Steven Perron <[email protected]>
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.

[SPIR-V] min and max hitting assert on 16 bit integers for Vulkan target

2 participants