| Issue |
164473
|
| Summary |
[DirectX] Use an allowlist for DXIL-compatible module metadata
|
| Labels |
backend:DirectX
|
| Assignees |
|
| Reporter |
inbelic
|
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.
AC:
- Investigate and find all the module metadata that is recognized and used by dxil consumers
- Create the allowlist from this and add it to the `DXILTranslateMetadata`
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs