As noted in D98152, we need to patch SLP to avoid regressions when we start canonicalizing to integer min/max intrinsics.
Most of the real work to make this possible was in 7202f47508 .
But I am posting this for review just in case anyone sees or knows of other problems that may result from the switch to intrinsics.
I suspect that we will need to adjust the cost models or tests because the PhaseOrdering test in D98152 still doesn't vectorize with only x86 SSE2 (it does change if I add an attribute for SSE4.1).