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

    <tr>
        <th>Summary</th>
        <td>
            AtomicExpand does not disable floating point exceptions for expanded atomicrmw fadd/fmin/fmax
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            llvm:codegen,
            floating-point
      </td>
    </tr>

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

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

<pre>
    https://reviews.llvm.org/D154993 was the minimum change to prevent AtomicExpand from emitting broken IR in a strictfp function. This should disable FP exceptions before the cmpxchg loop and restore the original exception mask. There currently isn't a generic IR way to do this.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxcUs2OnDwQfBpzae0IbGDgwGG_b4OUWxTlBYzdQGf9g-xmZ-btI4h2N8mpJbu6uquqdc60BMRBNP-J5qXQO68xDTplDL6Yon0MK_OWhXoWchRyTPhGeMsX5978JaZFyPGlauq-V3DTGXhF8BTI7x7MqsOCwBG2hG8YGJ45ejJf7psOFuYUPaAnZgoLTCm-YoCv34ECaMicyPC8wbwHwxTDBX6slCGvcXcWLGU9OYTxG-Dd4HYgMkw4x4TnDsZvd7Mu4GLc4JiWMPP7Z0y0UNDusxe8zq_HCEwIZk8JA7sHUA5CXhk0LBgwkTn2u-nHoclG4JXypbCDsr3qdYFD1XZ9VV3LsinWocWqVbOqdVPqSXX91OjJtLZTlVHWlLqgQZZSldeqkqoqS3mpTF120mB3vda9bWdRl-g1uQ-zC8p5x6FVXSULpyd0-QxOygMh1LOJFhcMQkoh_xdSzi7qw96nLVLg47l5KdJwoJ-mfcmiLh1l_oyzYGKHw19B2YgZQuQP199Z4WT9M4E5JsCzCy3okyT5G8zaWiHH2VM4i74Xe3L_XNZCvO7TxUQv5Hjq-V2ethR_omEhx1N-FnI8HfgVAAD__xOD7iY">