Craig Topper 2b7b8bdc16
[X86] Accept the canonical form of a sign bit test in MatchVectorAllEqualTest. (#154421)
This function tries to look for (seteq (and (reduce_or), mask), 0). If
the mask is a sign bit, InstCombine will have turned it into (setgt
(reduce_or), -1). We should handle that case too.

I'm looking into adding the same canonicalization to SimplifySetCC and
this change is needed to prevent test regressions.
2025-08-20 09:09:55 -07:00
..
2025-07-15 13:22:33 -04:00
2025-02-14 11:38:47 +00:00
2025-03-30 16:38:16 -07:00