diff options
author | Richard Biener <rguenther@suse.de> | 2024-09-28 14:02:18 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2024-09-30 07:41:04 +0200 |
commit | 71bf3daa8dabe45aa14e7315195a70ad0d883337 (patch) | |
tree | 2ab306ce5477bb2b562b4c80b85e7eb5a4e240d6 /libgo/go/net/lookup_test.go | |
parent | 85f5d0642184b68b38bf3daee5a1d04b753850b1 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
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 'libgo/go/net/lookup_test.go')
0 files changed, 0 insertions, 0 deletions