Landing: 5f5506826118

Project / Subsystem

gcc / vect

Date

2026-07-08

Author

Tamar Christina

Commit

5f5506826118698a947c164c3fed98855fccaa71

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
vect
patch_id
commit_hash
5f5506826118698a947c164c3fed98855fccaa71
source_type
github
headline
Replace length-bounded iterations with for-each in SLP analysis
tldr
SLP analysis now uses for-each loops to improve clarity and phase-out notion of scalar statement counts determining lanes.
author
Tamar Christina
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • vect
  • slp
  • refactor
discussion_id_link
bugzilla_pr
date
2026-07-08T00:00:00.000Z

The SLP (Simultaneous Local Processing) vectorization analysis has been updated to replace iteration patterns that rely on the number of scalar statements or operations with more idiomatic for-each loops. This change aims to simplify the internal representation and remove the confusing notion that the count of scalar elements dictates the number of vector lanes, promoting a more abstract approach to SLP tree analysis.