Landing: 6581a831fd54
Project / Subsystem
gcc / gcc/vectorization
Date
2026-07-22
Author
Richard Biener
Commit
6581a831fd548819097b1172b9488cd7c7d82a41
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/vectorization
- patch_id
- —
- commit_hash
- 6581a831fd548819097b1172b9488cd7c7d82a41
- source_type
- github
- headline
- Fix SLP scheduling in-region check
- tldr
- Corrects the check for whether a statement is within the vector region during SLP scheduling.
- author
- Richard Biener
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • vectorization
- • bugfix
- • optimization
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-22T00:00:00.000Z
This commit fixes a bug in GCC’s SLP vectorization pass where the check for a statement being within the vector region was incorrect. Previously, it compared random statement UIDs against -1, which does not work reliably for loop vectorization. The fix ensures accurate identification of statements belonging to the vectorizable region.