Landing: 663f2fe9595d
Project / Subsystem
gcc / gcc
Date
2026-05-12
Author
Richard Biener
Commit
663f2fe9595d2f0b14c7cb1869f3f3a64e90333f
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- 663f2fe9595d2f0b14c7cb1869f3f3a64e90333f
- source_type
- github
- headline
- Delay setting of slp_node->data improvements in vectorization.
- tldr
- This commit delays setting `slp_node->data` in vectorizable loads/stores to allow for late adjustments, improving vectorization decisions.
- 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-05-12T00:00:00.000Z
This commit improves the vectorization process by delaying the setting of slp_node->data in vectorizable_load and vectorizable_store functions. This delay allows for late adjustments, such as setting the ls_type, which can influence vectorization decisions. Additionally, a validity check is moved earlier in the process to prevent failures after slp_node->data has been set, leading to more robust vectorization.