aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/loongarch
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-09-28 14:02:18 +0200
committerRichard Biener <rguenth@gcc.gnu.org>2024-09-30 07:41:04 +0200
commit71bf3daa8dabe45aa14e7315195a70ad0d883337 (patch)
tree2ab306ce5477bb2b562b4c80b85e7eb5a4e240d6 /gcc/config/loongarch
parent85f5d0642184b68b38bf3daee5a1d04b753850b1 (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
tree-optimization/116842 - vectorizer load hosting breaks UID orderHEADtrunkmaster
The following fixes the case when vectorizing a load hoists an invariant load and dependent stmts, thereby breaking UID order of said stmts. While we duplicate the load we just move the dependences. PR tree-optimization/116842 * tree-vect-stmts.cc (hoist_defs_of_uses): Sort stmts to hoist after UID to avoid breaking vect_stmt_dominates_stmt_p. * g++.dg/torture/pr116842.C: New testcase.
Diffstat (limited to 'gcc/config/loongarch')
0 files changed, 0 insertions, 0 deletions