Reland "[SLP] Consider alternatives for cost of select instructions."
This reverts the revert commit a1b53db3. This patch includes a fix for a reported issue, caused by matchSelectPattern returning UMIN for selects of pointers in some cases by looking to some connected casts. For now, ensure integer instrinsics are only returned for selects of ints or int vectors.
Loading
Please sign in to comment