Add DXIL triple
authorChris Bieneman <cbieneman@microsoft.com>
Sat, 19 Mar 2022 05:06:20 +0000 (00:06 -0500)
committerChris Bieneman <cbieneman@microsoft.com>
Sat, 19 Mar 2022 05:17:43 +0000 (00:17 -0500)
commit95871187bfbc809a15a9ac914bd6ef320c891592
treec7b18b34f46a3fbd1db900843223a41b5c5a891c
parentacdd41b4590935e39208a941fbac7889d778e8e5
Add DXIL triple

This patch adds triple support for:

* dxil architecture
* shadermodel OS (with version parsing)
* shader stages as environment

Reviewed By: MaskRay, pete

Differential Revision: https://reviews.llvm.org/D122031
llvm/include/llvm/ADT/Triple.h
llvm/lib/Support/Triple.cpp
llvm/unittests/ADT/TripleTest.cpp