Nathan Corbyn b7a20c1cc4
[GlobalISel] Don't permit G_*MIN/G_*MAX of pointer vectors (#168872)
- Use `LLT::changeElementType()` instead of `LLT::changeElementSize()`
in `LegalizerHelper::lowerMinMax()` to avoid a crash in the case that
the destination type is a pointer vector;
- Reject `G_*MIN`/`G_*MAX` of pointers and pointer vectors in
`MachineVerifier`;
- Don't combine `G_SELECT`+`G_ICMP` pairs into `G_*MIN`/`G_*MAX` generic
instructions when the operands are pointers / pointer vectors.

Fixes #166556
2025-12-17 09:03:41 +00:00
..