aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-parser.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-12-03 14:37:21 +0100
committerRichard Biener <rguenth@gcc.gnu.org>2024-12-04 10:12:29 +0100
commit27b444a41a6afab8020183c4c5d3361e21635031 (patch)
tree4d404765111c5095d20a38fadd118b236997b747 /gcc/c/c-parser.cc
parentfb64a7b0e1d7488e6e3ae96af8d97fd2226b6d21 (diff)
downloadgcc-27b444a41a6afab8020183c4c5d3361e21635031.zip
gcc-27b444a41a6afab8020183c4c5d3361e21635031.tar.gz
gcc-27b444a41a6afab8020183c4c5d3361e21635031.tar.bz2
tree-optimization/116083 - SLP discovery slowness
One large constant factor of SLP discovery is figuring the vector type for each individual lane of each node. That should be redundant since the structual comparison of stmts should ensure they end up the same so the following computes them only once per node rather than for each lane. This cuts the compile-time of the testcase in half. PR tree-optimization/116083 * tree-vect-slp.cc (vect_build_slp_tree_1): Compute vector type and max_nunits only once. Remove check for matching vector type of each lane and replace it with matching check for LHS type.
Diffstat (limited to 'gcc/c/c-parser.cc')
0 files changed, 0 insertions, 0 deletions