Skip to content

[SPIRV] Symbolic operands constants aren’t entirely accurate. #137990

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
winocm opened this issue Apr 30, 2025 · 0 comments
Open

[SPIRV] Symbolic operands constants aren’t entirely accurate. #137990

winocm opened this issue Apr 30, 2025 · 0 comments

Comments

@winocm
Copy link

winocm commented Apr 30, 2025

Unlike MLIR, the LLVM SPIR-V target relies on a manually maintained list of symbolic operand enumerations. This has resulted in various issues such as ‘UnsignedInt32’ not being spelled correctly or various capabilities not having their related extensions, or related operands not having their related capabilities added.

It would be nice if we could adapt the SPIR-V scripts from MLIR to automatically generate prefixed enumerations and such from the official SPIR-V registry. This way there won’t be any confusion or discrepancy between various symbolic operands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants