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

    <tr>
        <th>Summary</th>
        <td>
            Simplify sinh(x) / cosh(x) -> tanh(x) with fast-math
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          k-arrows
      </td>
    </tr>
</table>

<pre>
    It seems that the simplification `sin(x) / cos(x) -> tan(x)` has been already implemented, and the same is true for hyperbolic function(s).

https://godbolt.org/z/WqYfKxr7K

For those who are interested in floating-point arithmetic optimization, I think this can be added to https://github.com/llvm/llvm-project/issues/34959.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyckjFv2z4QxT8NtRxsUJQVUYOG_JO_gCBjh6IjRZ7MayjSJU91nE9fyEbawmOXI8gD7717-JlS6BgRB9H-J9rnyqzsUx7edibndC7VlNxleGEoiEsB9oaBPUKh5RRoJmuYUgTxIAtFofS7UD0INYJN5fO6E83_wOazLR4keFNgQoxgQkbjLrCNwwUjoxPqCUx0NxmzIFABzivCnDL4ywnzlAJZmNdoN3GhdBGq3wv5LOTjrXrmUxHNo1CjUOMxuSkF3qd8FGr8EGr8-uPb_Pqeu9e_P40pA_tUEM4-gckIFBkzFkYHFGEOyTDF4-6UKDKYTOwXZLKQTkwLfZibnSd4AfYU37ZawJoIE4JxDh1wgjtvxH6d9jYtQo0h_Pw8dqecvqNloUYqZcUi1Ngc-rbfV25oXN_0psKh7mSrpVKNrvxQy7nunT601va6MXpWU1tPUjZzZ-1ku4oGJdVB1qqWddvVem8eLHaz7mutO9u1ShwkLobCfnOwxVVdtYdO666ugpkwlCsoSkU8w7UplNq4ycPV9bQeizjIQIXLnylMHHD4cmPmAoWiv2PF38Py--FM7GE2hXeLYV-tOQz_nuB1kV8BAAD__--u8hc">