The MD_tbaa metadata has a backwards incompatible representation, with respect to the LLVM 3.7 representation DXIL uses.
This issue is resolved when we continue to emit the DXIL compatible version of the metadata.
Note: DXC vs upstream llvm representations.
AC:
- Transform
MD_tbaa metadata nodes into DXIL compatible dx.tbaa metadata nodes (DXILTranslateMetadata)
- Update the allow-list in
DXILTranslateMetadata
- Add DXC equivalent validations for
dx.tbaa
- Update the bitcode writer to replace
dx.tbaa back to MD_tbaa
- Add applicable testing