On 14/06/2024 11:31, Richard Biener wrote:
The following retires vcond{,u,eq} optabs by stopping to use them
from the middle-end. Targets instead (should) implement vcond_mask
and vec_cmp{,u,eq} optabs. The PR this change refers to lists
possibly affected targets - those implementing these patterns,
and in particular it lists mips, sparc and ia64 as targets that
most definitely will regress while others might simply remove
their vcond{,u,eq} patterns.
I'd appreciate testing, I do not expect fallout for x86 or arm/aarch64.
I know riscv doesn't implement any of the legacy optabs. But less
maintained vector targets might need adjustments.
I want to get rid of those optabs for GCC 15. If I don't hear from
you I will assume your target is fine.
Seems OK for GCN.
The GCN vcond patterns are expanded directly to vec_cmp/vcond_mask, so
the set of supported operations should be identical.
Andrew