Landing: 505e2ba224e0
Project / Subsystem
gcc / gcc
Date
2026-03-10
Author
Richard Biener
Commit
505e2ba224e0b4c9fa133999376d1e1211e100ea
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- 505e2ba224e0b4c9fa133999376d1e1211e100ea
- source_type
- github
- headline
- Simplify API for estimating peeling costs in vectorizer.
- tldr
- GCC simplifies the API and implementation of the function estimating loop peeling costs in the vectorizer.
- author
- Richard Biener
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • vectorization
- • optimization
- • refactoring
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-03-10T00:00:00.000Z
This commit simplifies the API and implementation of vect_get_known_peeling_cost in GCC’s vectorizer. The changes reflect the actual usage of the function, which primarily involves summing scalar loop copies using builtin_vectorization_cost. This reduces overhead by avoiding the unnecessary use of record_stmt_cost.