[Bug target/123724] [16 Regression] ICE in aarch64_possible_by_lane_insn_p -> vect_stmt_to_vectorize since r16-6497
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 20 14:44:03 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123724
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>:
https://gcc.gnu.org/g:3a8faf1e543f60c20d6a02ab815cdc83be94a14b
commit r16-6925-g3a8faf1e543f60c20d6a02ab815cdc83be94a14b
Author: Jakub Jelinek <jakub@redhat.com>
Date: Tue Jan 20 15:38:24 2026 +0100
aarch64: Ignore debug stmts in aarch64_possible_by_lane_insn_p [PR123724]
Like in many other spots, when walking immediate uses for optimization
decisions
we should just ignore debug stmts. aarch64_possible_by_lane_insn_p wasn't
ignoring those and wasted time on doing lookup for those and ICEd because
it wasn't a vectorizable stmt.
Fixed by ignoring debug stmts early during the immediate use walk.
2026-01-20 Jakub Jelinek <jakub@redhat.com>
PR target/123724
* config/aarch64/aarch64.cc (aarch64_possible_by_lane_insn_p):
Ignore
debug stmts.
* g++.dg/opt/pr123724.C: New test.
More information about the Gcc-bugs
mailing list