aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/utils.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2025-07-10 10:25:03 +0200
committerRichard Biener <rguenth@gcc.gnu.org>2025-07-10 13:10:31 +0200
commit13beea469554efcffd0f2cda6f0484a603577f27 (patch)
tree91ec0aec592417c867dd1ad197f668d704a9198e /gcc/ada/gcc-interface/utils.cc
parentb57c6b5d27dd1840e9d466a5717476280287a322 (diff)
downloadgcc-13beea469554efcffd0f2cda6f0484a603577f27.zip
gcc-13beea469554efcffd0f2cda6f0484a603577f27.tar.gz
gcc-13beea469554efcffd0f2cda6f0484a603577f27.tar.bz2
Avoid vect_is_simple_use call from get_load_store_type
This isn't the required refactoring of vect_check_gather_scatter but it avoids a now unnecessary call to vect_is_simple_use which is problematic because it looks at STMT_VINFO_VECTYPE which we want to get rid of. SLP build already ensures vect_is_simple_use on all lane defs, so all we need is to populate the offset_vectype and offset_dt which is not always set by vect_check_gather_scatter. That's both easy to get from the SLP child directly. * tree-vect-stmts.cc (get_load_store_type): Do not use vect_is_simple_use to fill gather/scatter offset operand vectype and dt.
Diffstat (limited to 'gcc/ada/gcc-interface/utils.cc')
0 files changed, 0 insertions, 0 deletions