[Comgr] Add atomic noise flags to SPIR-V flag extraction#2183
[Comgr] Add atomic noise flags to SPIR-V flag extraction#2183
Conversation
Add -fatomic-fine-grained-memory, -fatomic-ignore-denormal-mode, and -fatomic-remote-memory to the ValidSpirvFlags allowlist so they are preserved through the SPIR-V compilation pipeline. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
PSDB Build Link: http://mlse-bdc-20dd129:8065/#/builders/11/builds/210 |
chinmaydd
left a comment
There was a problem hiding this comment.
I wonder if there's a better way to maintain this list of "allowed" flags...
|
PSDB Build Link: http://mlse-bdc-20dd129:8065/#/builders/11/builds/211 |
|
We probably need to include the negations i.e. the |
The long-term plan is / was to start with all known / allowed |
That makes sense, thanks for the clarification. |
Doesn't look like the Do we think the defaults for these will ever change? If so we could future-proof by adding the |
Summary
-fatomic-fine-grained-memory,-fatomic-ignore-denormal-mode, and-fatomic-remote-memoryto Comgr'sValidSpirvFlagsallowlist so they are preserved through the SPIR-V → relocatable compilation pipelinespirv-to-reloc.hiplit test to cover extraction of these flags