Landing: 5e63fb58f84e

Project / Subsystem

gcc / tree-optimization

Date

2026-07-15

Author

Richard Biener

Commit

5e63fb58f84e3ce19cb336710f69094ecbd4b63d

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
tree-optimization
patch_id
—
commit_hash
5e63fb58f84e3ce19cb336710f69094ecbd4b63d
source_type
github
headline
Vector placement improved for live lane extracts
tldr
Vectorizer pre-computes insertion points for SLP nodes, improving feasibility checks for live scalar lane extractions.
author
Richard Biener
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • vectorization
  • • optimization
  • • SLP
discussion_id_link
—
bugzilla_pr
—
date
2026-07-15T00:00:00.000Z

This commit improves the vectorizer’s ability to determine the feasibility of placing lane extractions for live scalar values. It achieves this by pre-computing an insertion place for all SLP nodes, which is then used to refine the feasibility computation. While re-using this computation for actual insertion is currently problematic due to potential scalar statement elision, this pre-computation validates earlier scheduling decisions and enhances the accuracy of live lane extract placement.