aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-coalesce.h
diff options
context:
space:
mode:
authorSpencer Abson <spencer.abson@arm.com>2025-03-20 12:18:57 +0000
committerChristophe Lyon <christophe.lyon@arm.com>2025-04-22 17:30:56 +0200
commit67bf33b14d14e92dcc60a4654f920be4a6ba38fb (patch)
tree5c75b368f9995ebf0bfd4ec97f8b2031fdb11026 /gcc/tree-ssa-coalesce.h
parent8942b48e127512e791af6d257e48ab8e271d45b7 (diff)
downloadgcc-67bf33b14d14e92dcc60a4654f920be4a6ba38fb.zip
gcc-67bf33b14d14e92dcc60a4654f920be4a6ba38fb.tar.gz
gcc-67bf33b14d14e92dcc60a4654f920be4a6ba38fb.tar.bz2
Induction vectorizer: prevent ICE for scalable types
We currently check that the target suppports PLUS_EXPR and MINUS_EXPR with step_vectype (a fix for pr103523). However, vectorizable_induction can emit a vectorized MULT_EXPR when calculating the step of each IV for SLP, and both MULT_EXPR/FLOAT_EXPR when calculating VEC_INIT for float inductions. gcc/ChangeLog: * tree-vect-loop.cc (vectorizable_induction): Add target support checks for vectorized MULT_EXPR and FLOAT_EXPR where necessary for scalable types. Prefer target_supports_op_p over directly_supports_p for these tree codes. (vectorizable_nonlinear_induction): Fix a doc comment while I'm here.
Diffstat (limited to 'gcc/tree-ssa-coalesce.h')
0 files changed, 0 insertions, 0 deletions