<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/83479>83479</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [HLSL] Implement -HV option for DXC
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
            bob80905
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          bob80905
      </td>
    </tr>
</table>

<pre>
    Currently, the -HV option that is typically taken by the DXC compiler isn't properly translated to an appropriate set of options for clang in -cc1 mode. This issue requires that an appropriate option translation is implemented.

AC:
Running:
`"clang-dxc.exe" -enable-16bit-types -HV 2016 -T lib_6_1 <test hlsl file> -###`
Should result in a command line to clang-cc1 that includes a set of options that has equivalent semantic meaning to adding -HV to the DXC compiler.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxkUk1v4zYQ_TXUZSCBHkm2ddAhtWukQE5NUOQWUOTYYkuRKjnKxv9-QdnZXWQBQRqR8_HmvadSshdP1Iv2D4E4hGEvO9kKRNEeC7XwGGL_eVoMwVz7wxIjeXZXgQfgkaB8_AfCzDZ44FEx2AR8na1Wzl2B1X_kYbiumcfXA-gwzdZRBJu8wB3DHMNMMadG5ZNTTAY4gPKg5nwXrWKCRAzhfJ-T4BwiaKf8BayHUusNTMFQBS-jTWBTWggi_b_YSOkG6ku7T7z3kTnOhdPsaCLPZCohj0I-3N4PB1Hfw78X762__PgXWykQVyil-dAVfZBAhJK8GhyVm-1gueTrTGnlCeVmC-ULODu8bd82IOoDU2IYXXJwto5E_SeUAuv7s5W3Mc9jWJyBSGlxnHdWmchJeQPOesqE3TBkKm4qeO0WQwnUV-7W61ElyAS9K0eeIdGkPFsNE6m836qAMTnKsDn8pl9VmL42Xd2pgvrNTnbYyFpiMfbtWRvsWjTtvsZ6L82u0d1ZD41skbTeFrZHiY1E7FC2e8SqU61pdnq_p7Nsm80gGkmTsq5y7n2qQrwUq6T9vm52XeHUQC7dHevp203vu2Vjn2vKYbkk0UhnE6efXdiyW63--PT8JNoj_PUp-K8mzt46vh6KJbp-ZJ5TFhtPAk8Xy-MyVDpMAk-56_1TzjH8S5oFnlYsSeBpxfo9AAD__yGUGgk">