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

    <tr>
        <th>Summary</th>
        <td>
            [SLP] Avoid -passes=instcombine stages in SLP tests
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            good first issue,
            llvm:SLPVectorizer
      </td>
    </tr>

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

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

<pre>
    As discussed on #144933 - we shouldn't be having multiple pass stages in SLP tests as it obscures the effect of the the vectorizer - especially as in most cases slp-vectorizer and instcombine are not sequential.

The slp tests should only run `-passes=slp-vectorizer` in nearly all cases and if there is a need to check for additional IR then we should consider copying / moving the test to PhaseOrdering
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxskl2L2zwQhX-NfDMkyPJHNhe-yPsugdKFhk3pvT7GtlpZcjXjlPTXF3sXsoVeGCM0o3nOmaOJ_BARO9H8J5rnQi88pty9fr76KcXCJHfvTgTOk12I0EGKIFRV1vWxqmAHvxBoTEtwUagDg0EY9c3HAaYlsJ8DwqyJgFgPSOAjXF8uwEhMoAk8QzJkl4wEPCJg36NlSP12Wr8bWk7Z_8YMO0Ca0Xodwn1rjjAlYrCakIDCvPtQrKMDH4ltmoyPCDojxMRA-HPByF6HvZAnIU9fR1x735netECK4Q55iSBauVsFIInq-e8RopUrQkSdV54Q3kG2yZuAjOAJNEREB5zAjmh_QJ8yaOc8-xR1gE-va2l8GAk2RfIOM9g031crhTrDlDZXN1uQeH3uMmrCL9lh9nEoXFe5Y3XUBXbloZGHg6rbqhi7WssDmt5YZxHrWjemb6VRSktzfJJPqvCdkqqRrarLqi5ltbeH5qnuW9u30jZ1Y0QtcdI-7EO4TfuUh8ITLdiVddOUZRG0wUBbfpQaUnLQ-0wMW5FQSqj_hVJrr6hO15fLt4eDSq2Ry916uTPLQKKWwRPTYxR7Dls4ry8X0TzD6Za8g8dOPu74HyErlhy6kXkmUZ2EOgt1HjyPi9nbNAl13rDefrs5p-9oWajzhk5Cnd8l3jr1JwAA__8fDhFY">