Deal with vector typed operands in conversions
commit96854fd753868d26dd8f270fff8c3703f7cb6c86
authorRichard Biener <rguenther@suse.de>
Fri, 23 Jun 2023 10:48:36 +0000 (23 12:48 +0200)
committerRichard Biener <rguenther@suse.de>
Fri, 23 Jun 2023 12:16:22 +0000 (23 14:16 +0200)
tree531479460a6376905ac4025ea8eaeaf05678afdd
parent85d8e0d8d5342ec8b4e6a54e22741c30b33c6f04
Deal with vector typed operands in conversions

The following avoids using TYPE_PRECISION on VECTOR_TYPE when
looking for bit-precision changes in vectorizable_assignment.
We didn't anticipate a stmt like

  _21 = VIEW_CONVERT_EXPR<unsigned int>(vect__1.7_28);

and the following makes sure to handle that.

* tree-vect-stmts.cc (vectorizable_assignment):
Properly handle non-integral operands when analyzing
conversions.
gcc/tree-vect-stmts.cc