[PATCH] D125585: [HLSL][clang][Driver] Parse target profile early to update Driver::TargetTriple.
Xiang Li via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri May 13 14:38:34 PDT 2022
python3kgae created this revision.
python3kgae added reviewers: thakis, beanz, pow2clk.
Herald added a subscriber: Anastasia.
Herald added a project: All.
python3kgae requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay.
Herald added a project: clang.
This is to avoid err_target_unknown_abi which is caused by use default TargetTriple instead of shader model target triple.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D125585
Files:
clang/lib/Driver/Driver.cpp
clang/lib/Driver/ToolChains/HLSL.cpp
clang/lib/Driver/ToolChains/HLSL.h
clang/unittests/Driver/ToolChainTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125585.429360.patch
Type: text/x-patch
Size: 10696 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220513/018e2e0c/attachment.bin>
More information about the cfe-commits
mailing list