[all-commits] [llvm/llvm-project] fde240: [HLSL][clang][Driver] Parse target profile early t...

Xiang Li via All-commits all-commits at lists.llvm.org
Tue May 31 13:23:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fde240c9c328b8a824a064c8ccd91252516e6d41
      https://github.com/llvm/llvm-project/commit/fde240c9c328b8a824a064c8ccd91252516e6d41
  Author: Xiang Li <python3kgae at outlook.com>
  Date:   2022-05-31 (Tue, 31 May 2022)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticDriverKinds.td
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/ToolChains/HLSL.cpp
    M clang/lib/Driver/ToolChains/HLSL.h
    M clang/test/Driver/dxc_fcgl.hlsl
    M clang/unittests/Driver/ToolChainTest.cpp

  Log Message:
  -----------
  [HLSL][clang][Driver] Parse target profile early to update Driver::TargetTriple.

This is to avoid err_target_unknown_abi which is caused by use default TargetTriple instead of shader model target triple.

Reviewed By: beanz

Differential Revision: https://reviews.llvm.org/D125585




More information about the All-commits mailing list