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

    <tr>
        <th>Summary</th>
        <td>
            [clang] Support floating point types for `__builtin_reduce_add` and `__builtin_reduce_mul`
        </td>
    </tr>

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

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

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

<pre>
    As the `TODO` [in SemaChecking](https://github.com/llvm/llvm-project/blob/00874c48ea4d291908517afaab50d1dcbfb016c3/clang/lib/Sema/SemaChecking.cpp#L2631) suggests, we should support floating point types for both `__builtin_reduce_add` and `__builtin_reduce_mul`.  Currently, only integers are supported.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJydkcuK3DAQRb9G3ogYWZZka-HFpJtZhIFZTPaNHmVbE7Vl9Ejov4_cmSabQEhAUKhKqjq3rg72Nj0lnFfASJCvr-fXGjDin92G3-CqTiuYb25bED8jOq457wn1T4g-17O4vBbdmnCtF--_P8KnPYZ3MLletQ-6BkLGgRk2gmKWyk6SkXeDmpXSnNjOGj1r0gnT16fGqzqtNnLHxwPhIzxIWrPviPYvVPQdohKnsiyQckL0hH8ATmso3tbsvoeY8eyDyvUX3oPbMs63HRKeQ8Q65PWQfLno4nx9colgi4GLsvZYgdrsH8vX4mu6xfhUYoQt-9sxOGz-husAWCAmrCI8AMC2DUydEL2oqglr7NRb2UvVZJc9THXTvxTzM377G_N_4zYl-umfzXMpFah7febDyIZmnbjQEpgSQo-CzZ1ggldNktnZaCM5b7zS4NMhClH64SSt0ho3UUIpkbTaTAlhLZcE5tkMWvJez4IhRqrHzrcHQxvi0sTpjqPLkmrRu2rx76JKyS0b3Pd39FclryFOXwK8hASxuaNPd-6fNrjwYw">