Landing: 4882e4e49938
Project / Subsystem
gcc / gcc
Date
2026-07-19
Author
Andrew MacLeod
Commit
4882e4e49938fcd50c235f6422bbd989a4d633af
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc
- patch_id
- —
- commit_hash
- 4882e4e49938fcd50c235f6422bbd989a4d633af
- source_type
- github
- headline
- Segregate relation creation code.
- tldr
- Refactors relation creation and merging logic in GCC's value-relation component for better modularity.
- author
- Andrew MacLeod
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • compiler
- • refactor
- • optimization
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-19T00:00:00.000Z
GCC’s value-relation.cc has been refactored to separate the creation of relation records from the search and merge logic. A new function create_relation_record_in_bb handles record creation, while search_and_merge_relation manages finding existing records and merging, calling the creation function when necessary. This improves code organization and maintainability.