Landing: bca597522679

Project / Subsystem

gcc / gcc/tree-optimization

Date

2026-09-18

Author

Richard Biener

Commit

bca597522679903c66f28afff49971663a37ab37

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
gcc/tree-optimization
patch_id
—
commit_hash
bca597522679903c66f28afff49971663a37ab37
source_type
github
headline
Delay SLP discovery failure in BB vectorization
tldr
Vectorization pass defers potential failures in SLP discovery.
author
Richard Biener
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • optimization
  • • vectorization
  • • SLP
discussion_id_link
—
bugzilla_pr
—
date
2026-09-18T00:00:00.000Z

This commit modifies the basic block (BB) vectorization pass in GCC to delay the failure of SLP (Simultaneous Linear Patterns) discovery. Previously, failures could occur early in the process. Now, the failure is delayed until after analyzing definitions that might provide better splitting points for the pattern group. This change aims to improve the success rate of vectorization for simple cases without significantly impacting compile times.