aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/generated/maxval_m2.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-10-01 13:35:58 +0200
committerRichard Biener <rguenth@gcc.gnu.org>2024-10-01 14:28:33 +0200
commit27ddda8b4cb51739e841053c29d9b5f503467e99 (patch)
tree687b9d976fc3d316d9335cfbd623d5246ab12750 /libgfortran/generated/maxval_m2.c
parent60fa7f51c84f042af70a3feea14236c102d6a9c2 (diff)
downloadgcc-27ddda8b4cb51739e841053c29d9b5f503467e99.zip
gcc-27ddda8b4cb51739e841053c29d9b5f503467e99.tar.gz
gcc-27ddda8b4cb51739e841053c29d9b5f503467e99.tar.bz2
tree-optimization/116902 - vectorizer load hosting breaks UID order #2
This is another case of load hoisting breaking UID order in the preheader, this time between two hoistings. The easiest way out is to do what we do for the main stmt - copy instead of move. PR tree-optimization/116902 PR tree-optimization/116842 * tree-vect-stmts.cc (sort_after_uid): Remove again. (hoist_defs_of_uses): Copy defs instead of hoisting them so we can zero their UID. (vectorizable_load): Separate analysis and transform call, do transform on the stmt copy. * g++.dg/torture/pr116902.C: New testcase.
Diffstat (limited to 'libgfortran/generated/maxval_m2.c')
0 files changed, 0 insertions, 0 deletions