diff options
author | Tamar Christina <tamar.christina@arm.com> | 2021-01-11 09:57:41 +0000 |
---|---|---|
committer | Tamar Christina <tamar.christina@arm.com> | 2021-01-11 09:57:41 +0000 |
commit | bd4298e1927f6c519d5b7829023b1db7e64592e6 (patch) | |
tree | b88cbf80b5029f72ebb8d828eaa56a259ba55b35 /gcc/tree-loop-distribution.c | |
parent | 39666d2b8858361b4921fe0ae87bba90a62d9b9a (diff) | |
download | gcc-bd4298e1927f6c519d5b7829023b1db7e64592e6.zip gcc-bd4298e1927f6c519d5b7829023b1db7e64592e6.tar.gz gcc-bd4298e1927f6c519d5b7829023b1db7e64592e6.tar.bz2 |
slp: handle externals correctly in linear_loads_p
This fixes a bug with externals and linear_loads_p where I forgot to save the
value before returning.
It also fixes handling of nodes with multiple children on a non VEC_PERM node.
There the child iteration would already resolve the kind and the loads are All
expected to be the same if valid so just return one.
gcc/ChangeLog:
* tree-vect-slp-patterns.c (linear_loads_p): Fix externals.
Diffstat (limited to 'gcc/tree-loop-distribution.c')
0 files changed, 0 insertions, 0 deletions