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

    <tr>
        <th>Summary</th>
        <td>
            [SLP] polyhedron/kepler tolerance failure
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            regression,
            llvm:SLPVectorizer
      </td>
    </tr>

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

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

<pre>
    The benchmark started failing with Flang (-ffast-math) on Haswell after ac254fc055980219b30821c3717c6b7db0fbbc46
Reverting the change makes the test pass.
The change enables vectorization for some reductions in the code, so there is a possibility that this is a test issue (though, the results are way off).
I will try to create a minimal reproducer if I end up proving that this is an SLP issue.

@alexey-bataev please let me know if you know of any other reported issues with this commit or any additional change that I can try.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxMU0-PuzgM_TThYrWCAG05cJj9jaodaQ6jnZ_27iQGsg0JSky7zKdfAR3NXvjjOM_vPduYku09USvqP4SU9y-8DRitkFLUrxnOPITYfkczFczS_h4IFHk9jBhvkBgjk4EOrbO-h4flAa4OfQ9CXg5dh4kPI_IgZAPBw5-YHuQcYMcUAbWsq07ndd1cclk0qswvstDluTjrkzoblXdK6eok8leRv_xFd4q8VuGBQA_oe4IRb5S2AFNimDCl457--yeJPCpHCe6kOUT7hWyDhy5ESGEkiGRmvYYSWL-DB0NC_oIU1t9IYBMgTCElq6yzvAAPyMCDTfvRVtymNNOqm4cw98MKsIJFSrPjBBgJHrhA6DohmyfLN3hY54DjAhxAR0ImQBittyM6iDTFYGZNEWwHb0DewDzBFMN9N-L_LDx8vn_sLJ7oz2eVo6N_aTkoZKQ7TI4wEThiGAluPjxW9CXM-3foAP0CYZW-MghbizfctHd4K6nDOFqGELdsNMauHqL7dn0j9wYa_SrvmJm2NE3ZYEZtcWqapixP-TkbWtPIE-U1drpQpM4nVZjC4KmiqqsuFzKZbWUuy6IoqrysTtX5WFeFKZSua1kofZFSVDmNaN3Ruft4DLHPNrLtWcpcZg4VufQc8Uh9pJRs8OuQy19CyvWSKF8-3z_-fs4HxecGxHY9PKi5T6LKnU2cfmqwZbdtzuf7h6hfYQpuGcjEFfp6o8lRBA6OInpN24bMkbI5unZgnpIoX4S8CnntLQ-zOuowCnndyOyvwxTDP6RZyOvuvZDXTdF_AQAA__-Nsj8h">