aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pass.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-09-02 11:16:12 +0200
committerRichard Biener <rguenth@gcc.gnu.org>2024-09-03 08:36:18 +0200
commit340ca7437ceb05d61797dbf3b522a495176c5a5e (patch)
tree23069305573486f49dca29621ea67eee16a10c86 /gcc/tree-pass.h
parent62df24e50039ae04aa3b940e680cffd9041ef5bf (diff)
downloadgcc-340ca7437ceb05d61797dbf3b522a495176c5a5e.zip
gcc-340ca7437ceb05d61797dbf3b522a495176c5a5e.tar.gz
gcc-340ca7437ceb05d61797dbf3b522a495176c5a5e.tar.bz2
Correctly handle store IFNs in vect_get_vector_types_for_stmt
Currently vect_get_vector_types_for_stmt only special-cases IFN_MASK_STORE but there are now very many variants and simply passing analysis without setting *VECTYPE will ICE duing SLP discovery (noticed with IFN_SCATTER_STORE). The following properly uses internal_store_fn_p. I also noticed we're unnecessarily handing those again to determine the scalar type but there should always be a data reference for them. * tree-vect-stmts.cc (vect_get_vector_types_for_stmt): Handle all internal_store_fn_p the same. Remove special-casing for the scalar_type of IFN_MASK_STORE.
Diffstat (limited to 'gcc/tree-pass.h')
0 files changed, 0 insertions, 0 deletions