Landing: fce59fc4a405

Project / Subsystem

gcc / tree-optimization

Date

2026-09-18

Author

Richard Biener

Commit

fce59fc4a405721468cd02eb0eba48a684e378e4

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
tree-optimization
patch_id
—
commit_hash
fce59fc4a405721468cd02eb0eba48a684e378e4
source_type
github
headline
Avoid starting SLP groups with unvectorizable loads
tldr
Prevents SLP optimization from beginning a vectorization group with a load instruction that cannot be vectorized.
author
Richard Biener
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • optimization
  • • vectorization
  • • tree-optimization
discussion_id_link
—
bugzilla_pr
—
date
2026-09-18T00:00:00.000Z

This commit addresses a bug in SLP discovery by preventing it from starting a vectorization group with an unvectorizable load instruction. The change refactors how non-grouped loads are handled, ensuring that such loads are rejected early in the process before being incorrectly selected as the first match for a group.