Landing: a937d8f7b557
Project / Subsystem
gcc / gcc
Date
2026-09-01
Author
Richard Biener
Commit
a937d8f7b557d4d6231e71c885cfbcdd50c5de27
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- a937d8f7b557d4d6231e71c885cfbcdd50c5de27
- source_type
- github
- headline
- Improve SLP vectorization profitability costing
- tldr
- SLP vectorization now uses a more precise cost model for scheduling, improving profitability analysis.
- author
- Richard Biener
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • vectorization
- • optimization
- • SLP
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-01T00:00:00.000Z
This patch refines the profitability analysis for SLP (Superword Level Parallelism) vectorization in GCC. It now utilizes the computed schedule location for SLP nodes to determine the containing loop more accurately. This addresses issues where vector constants and externals, scheduled at the region entry, introduced ‘outside’ costs not present in scalar costing. By delaying the assessment of profitability for the entry region and considering total costs, the analysis becomes more reliable.