Issue |
137386
|
Summary |
[HLSL] Add appropriate validation for MD_tbaa metadata kind
|
Labels |
new issue
|
Assignees |
|
Reporter |
bob80905
|
The MD_tbaa metadata kind needs to be supported in LLVM for the DXIL Prepare pass.
Currently, if any MD_tbaa metadata kind is detected prior to the DXIL Prepare pass, it is removed thanks to the whitelist in `llvm\lib\Target\DirectX\DXILPrepare.cpp` under `getCompatibleInstructionMDs`. The whitelist needs to accomodate for MD_tbaa, and the whitelist needs extra logic to validate the MD_tbaa node in the same way that the dxil validator validates the MD_tbaa node.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs