-
Notifications
You must be signed in to change notification settings - Fork 15k
Open
Labels
Description
At the moment there is no filter to remove any module metadata that is unrecognized by the LLVM 3.7 DXIL validator.
This results in clang producing invalid DXIL whenever a new type of module metadata is generated. To prevent this proactively we should create an allowlist that will filter out any unrecognized metadata during the DXILTranslateMetadata pass.
Please see #164472 for additional context.
From comments:
It appears the only known
llvmmetadata isllvm.identandllvm.module.flags(debug is separate). All others would cause a validation error.
AC:
- Investigate and find all the module metadata that the DXIL validator is expecting to deal with (2 from above)
- Create the allowlist from this and add it to the
DXILTranslateMetadata - Ensure that there is sufficient testing of all metadata on the allowlist so that any upstream updates to produce invalid DXIL is detected
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Active