Landing: d028794ce7ae

Project / Subsystem

gcc / ipa

Date

2026-09-21

Author

Richard Biener

Commit

d028794ce7aee71c515346528f36ff985afd4f9f

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ipa
patch_id
—
commit_hash
d028794ce7aee71c515346528f36ff985afd4f9f
source_type
github
headline
IPA ICF stability during LTO streaming
tldr
Preserves PHI operand order during LTO streaming to fix IPA ICF comparisons.
author
Richard Biener
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • lto
  • • optimization
  • • ipa
discussion_id_link
—
bugzilla_pr
—
date
2026-09-21T00:00:00.000Z

This change modifies the LTO streamer to preserve the order of predecessor edges, which in turn preserves the order of PHI operands. This is necessary because the previous implementation did not guarantee operand order, causing issues with IPA Inter-Chaining Function (ICF) reference comparisons. A new test case is included to verify the fix.