diff options
author | Richard Biener <rguenther@suse.de> | 2020-01-29 09:05:05 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2020-01-29 09:06:08 +0100 |
commit | 148018bc3fe7ce47d005a1c5f7b6dd044024a4af (patch) | |
tree | a30ce10c81aca156f2ee9019eab8b7a6f94e6336 /gcc/fortran/openmp.c | |
parent | 345ea96111385ecc2a38f1e9b18f4f07cb98140f (diff) |
tree-optimization/93428 - avoid load permutation vector clobbering
With SLP now being a graph with shared nodes across instances we have
to make sure to compute the load permutation of nodes once, not
overwriting the result of earlier analysis.
2020-01-28 Richard Biener <rguenther@suse.de>
PR tree-optimization/93428
* tree-vect-slp.c (vect_build_slp_tree_2): Compute the load
permutation when the load node is created.
(vect_analyze_slp_instance): Re-use it here.
* gcc.dg/torture/pr93428.c: New testcase.
Diffstat (limited to 'gcc/fortran/openmp.c')
0 files changed, 0 insertions, 0 deletions