aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiopt.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-08-09 11:48:28 +0200
committerRichard Biener <rguenther@suse.de>2023-08-10 14:23:16 +0200
commit9b8ebdb60c463fa3641692a21ca0ce24fba89260 (patch)
tree0364d1e97ccfb462826ad42709a8b978b2dfb327 /gcc/tree-ssa-phiopt.cc
parent6bdbf1722a312b90a48dea19af545815f0069e86 (diff)
downloadgcc-9b8ebdb60c463fa3641692a21ca0ce24fba89260.zip
gcc-9b8ebdb60c463fa3641692a21ca0ce24fba89260.tar.gz
gcc-9b8ebdb60c463fa3641692a21ca0ce24fba89260.tar.bz2
Remove insert location argument from vectorizable_live_operation
The insert location argument isn't actually used but we compute that ourselves. There's a single spot, namely when asking for the loop mask via vect_get_loop_mask that the passed argument is used but that looks like an oversight. The following fixes that and adjusts vectorizable_live_operation and can_vectorize_live_stmts to no longer take a stmt iterator argument. * tree-vectorizer.h (vectorizable_live_operation): Remove gimple_stmt_iterator * argument. * tree-vect-loop.cc (vectorizable_live_operation): Likewise. Adjust plumbing around vect_get_loop_mask. (vect_analyze_loop_operations): Adjust. * tree-vect-slp.cc (vect_slp_analyze_node_operations_1): Likewise. (vect_bb_slp_mark_live_stmts): Likewise. (vect_schedule_slp_node): Likewise. * tree-vect-stmts.cc (can_vectorize_live_stmts): Likewise. Remove gimple_stmt_iterator * argument. (vect_transform_stmt): Adjust.
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions