diff options
author | Tamar Christina <tamar.christina@arm.com> | 2020-11-20 13:32:32 +0000 |
---|---|---|
committer | Tamar Christina <tamar.christina@arm.com> | 2020-11-20 13:32:32 +0000 |
commit | ad318e3f1d372c4e720979d1eb13bebb8fb852d8 (patch) | |
tree | 00f745e505d815e658f4bae250258f30a26fec10 /gcc/read-rtl-function.c | |
parent | 640ebeb336050887cb57417b7568279c588088f0 (diff) | |
download | gcc-ad318e3f1d372c4e720979d1eb13bebb8fb852d8.zip gcc-ad318e3f1d372c4e720979d1eb13bebb8fb852d8.tar.gz gcc-ad318e3f1d372c4e720979d1eb13bebb8fb852d8.tar.bz2 |
SLP: Have vectorizable_slp_permutation set type on invariants
This modifies vectorizable_slp_permutation to update the type of the children
of a perm node before trying to permute them. This allows us to be able to
permute invariant nodes.
This will be covered by test from the SLP pattern matcher.
gcc/ChangeLog:
* tree-vect-slp.c (vectorizable_slp_permutation): Update types on nodes
when needed.
Diffstat (limited to 'gcc/read-rtl-function.c')
0 files changed, 0 insertions, 0 deletions