https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93116

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So the biggest issue here is that if we use nop_convert here, we will need to
check for vectors and use view_convert instead of convert in the resulting
output for the patterns.

like what is done for:
/* Fold -((int)x >> (prec - 1)) into (unsigned)x >> (prec - 1).  */

So each pattern would need to be audited while being changed. And testcases be
added too ...

Reply via email to