[all-commits] [llvm/llvm-project] 162180: [HLSL] Add -HV option translation to clang-dxc.exe...

Joshua Batista via All-commits all-commits at lists.llvm.org
Wed Mar 13 21:55:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 162180decf532acd31c9aa4b876804848d1761c0
      https://github.com/llvm/llvm-project/commit/162180decf532acd31c9aa4b876804848d1761c0
  Author: Joshua Batista <jbatista at microsoft.com>
  Date:   2024-03-13 (Wed, 13 Mar 2024)

  Changed paths:
    M clang/include/clang/Basic/LangStandard.h
    M clang/include/clang/Driver/Options.td
    M clang/lib/Basic/LangStandards.cpp
    M clang/lib/Driver/ToolChains/HLSL.cpp
    A clang/test/Options/HV.hlsl

  Log Message:
  -----------
  [HLSL] Add -HV option translation to clang-dxc.exe (#83938)

Previously, clang-dxc.exe would not recognize -HV as a valid argument to
DXC, and would be unable to translate the argument to a legal clang
argument. This PR implements a translation of the HV option and its
value to the appropriate clang flag and the appropriate value. It adds a
test by using the -### option to spit out the translated options, and
checks to see that the correct option was generated.
Fixes #83479

---------

Co-authored-by: Chris B <cbieneman at microsoft.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list