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

    <tr>
        <th>Summary</th>
        <td>
            How to pass clang options to clang-cl?
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang
      </td>
    </tr>

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

    <tr>
      <th>Reporter</th>
      <td>
          dmenendez-gruposantander
      </td>
    </tr>
</table>

<pre>
    Hi all, 

I am compiling on Windows using `clang-cl` and I am passing option `/fp:contract` to the compiler.

However, the behavior I really would like (*) is that of `-ffp-contract=fast`, but I seem unable to get that behavior from clang-cl, complaining that it does not recognize that option:

```
> clang-cl -ffp-contract=fast
clang-cl: warning: unknown argument ignored in clang-cl: '-ffp-contract=fast' [-Wunknown-argument]
```

Any help appreciated!
Thanks in advance

(*) to match the behavior of `msvc` with `/fp:contract` and the behavior of `clang` with `-ffp-contract=fast`, as seen here [https://godbolt.org/z/PoxYohYsY](url)
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx8U09vozoQ_zTmMiIyQ0jCgQNtH2pv7_CkqkdjT8Cvxka2Sbb99CuTbNqtuitFSuTM759_YxGCHixRw6o7Vj1kYomj842ayJJV9J4PfpldEDYKq8hnvVNvzaMGYQzDe2C8Zbx9AjGBdNOsjbYDOAvP2ip3DrCEdMB2XBphh1watuMgrIIVMif1BJijdjaNMeyOMytb6Wz0QsY0Hh3Eka785DcXzUd3phP5ZCL929MoTtp5eAJPwpg3OLvFKDD6lYDhgWHLsAYdII4igjsmtfx4nPObVPlwFCGuJu6hXyI8QSCaYLGiN5RsDBQv8Jva0bsJbtnwfnVphLYp1jqqIyhHAayL4Em6wep3uppYY7OyvSRKypcPb1n5z40WvrXJ25ts2cJZ-CSZfi721bqzBeGHZSIbQQ_WeVKgLXyGMNx_S4x7YNVd_nzlyX_xsOrhq0netvYNRjIziHn2JLWIpBgWjLf_jcK-hiQq1ElYSdeQtyqig0lEOf5e36WYKZxkqv6s4_intUhb9A10jfgZ-5eSRUgNWxjJUwo9xjiH1Ad2DLvBqd6ZuHF-YNi9M-z-dT9e3PgSXtJd4GHxhmGdqaZUdVmLjJpiv63327pAzMZGVYdCSVFiXdFO7GWNu17xfaHKw7bqucp0gxwrviuw2GOFuKkkV2Ua4rvDDgvJtpwmoc3GmNOUfGQ6hIWaYlvWZZ0Z0ZMJ68tFvORGTI_YNwmQ98sQ2JYbHWL4oIg6Gmoe3Tk1kF7gZSuu2xjS6ceadNniTfPlXnQcl34j3cSwS7TXr3z27n-SkWG32gwMu6vTU4M_AwAA__-Dx2tj">