Landing: fe236f5bef79

Project / Subsystem

gcc / ipa-cp

Date

2026-09-26

Author

linden

Commit

fe236f5bef799694f693f4eb004634738cb1c059

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
ipa-cp
patch_id
—
commit_hash
fe236f5bef799694f693f4eb004634738cb1c059
source_type
github
headline
ipa-cp: Pass widest_int parameters by const reference
tldr
Optimizes widest_int parameter passing in ipa-cp functions for performance.
author
linden
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • optimization
  • • gcc
discussion_id_link
—
bugzilla_pr
—
date
2026-09-26T00:00:00.000Z

The ipa-cp pass in GCC now passes widest_int parameters by const reference to set_to_constant, meet_with, and meet_with_1 functions. widest_int is a large inline-buffer type, and these functions only read its values. This change avoids unnecessary copying of this large type, leading to a potential performance improvement without altering functionality.