[DirectX backend] set target triple to "dxil-ms-dx"
authorXiang Li <python3kgae@outlook.com>
Mon, 24 Oct 2022 17:58:05 +0000 (10:58 -0700)
committerXiang Li <python3kgae@outlook.com>
Mon, 24 Oct 2022 21:49:31 +0000 (14:49 -0700)
commit996267d20ea08826f7440e8bd2f38f0cfc575039
treea1adfed753f3ad7849122b850d2bb644ceb2a078
parent0c35b6165ccc4fc3c5c1286236a02ea6f7894d00
[DirectX backend] set target triple to "dxil-ms-dx"

Set target triple to "dxil-ms-dx" for DXIL at the end of DXILTranslateMetadata.

Reviewed By: beanz

Differential Revision: https://reviews.llvm.org/D131545
llvm/lib/Target/DirectX/DXILWriter/DXILWriterPass.cpp
llvm/test/CodeGen/DirectX/embed-dxil.ll
llvm/test/tools/dxil-dis/attribute-filter.ll
llvm/test/tools/dxil-dis/triple.ll [new file with mode: 0644]