]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/117343 - decide_masked_load_lanes and stale graph
authorRichard Biener <rguenther@suse.de>
Tue, 29 Oct 2024 10:26:13 +0000 (11:26 +0100)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 29 Oct 2024 11:17:38 +0000 (12:17 +0100)
commit9999cc79e9866ba33dea0256078f4557d92d80d9
tree2b7cc468d33a369d622e435440437ada72ce48f5
parent0e99b22aa666f107c4035d32bfb5ab11534a9d2f
tree-optimization/117343 - decide_masked_load_lanes and stale graph

It turns out decide_masked_load_lanes accesses a stale SLP graph
so the following re-builds it instead.

PR tree-optimization/117343
* tree-vect-slp.cc (vect_optimize_slp_pass::build_vertices):
Support re-building the SLP graph.
(vect_optimize_slp_pass::run): Re-build the SLP graph before
decide_masked_load_lanes.
gcc/tree-vect-slp.cc