Landing: 0c7dc43c8de6

Project / Subsystem

gcc / gcc

Date

2026-03-10

Author

Richard Biener

Commit

0c7dc43c8de6a42bcf581420fc75bf425faeff6e

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
commit_hash
0c7dc43c8de6a42bcf581420fc75bf425faeff6e
source_type
github
headline
Add comment clarifying vectorization cost estimation.
tldr
A comment was added to GCC's vectorizer to explain the cost estimation of loop prologue and epilogue.
author
Richard Biener
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • vectorization
  • optimization
  • documentation
discussion_id_link
bugzilla_pr
date
2026-03-10T00:00:00.000Z

This commit adds a comment to vect_estimate_min_profitable_iters in GCC’s vectorization pass. The comment explains the somewhat awkward method of estimating peeling costs by adding the scalar loop statement costs to the vector loop cost vector.