aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pass.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-10-05 10:26:34 +0200
committerRichard Biener <rguenther@suse.de>2023-10-05 13:35:14 +0200
commit6dc44436301143a286e3b45de0673af012299eba (patch)
tree2af155328cf2ebb77c61a27a8e877c0ccfe936e5 /gcc/tree-pass.h
parentb583a2940af90d03f535648fef111cb158933f7d (diff)
downloadgcc-6dc44436301143a286e3b45de0673af012299eba.zip
gcc-6dc44436301143a286e3b45de0673af012299eba.tar.gz
gcc-6dc44436301143a286e3b45de0673af012299eba.tar.bz2
Fix SIMD call SLP discovery
When we do SLP discovery of SIMD calls we run into the issue that when the call is neither builtin nor internal function we have cfn == CFN_LAST but internal_fn_p of that returns true. Since IFN_LAST isn't vectorizable we fail spuriously. Fixed by checking for cfn != CFN_LAST && internal_fn_p (cfn) instead. * tree-vect-slp.cc (vect_build_slp_tree_1): Do not ask for internal_fn_p (CFN_LAST).
Diffstat (limited to 'gcc/tree-pass.h')
0 files changed, 0 insertions, 0 deletions