Landing: b052d6bbbeea

Project / Subsystem

gcc / gcc/tree-optimization

Date

2026-06-26

Author

Richard Biener

Commit

b052d6bbbeea2b04c8a4f765e89b0b3f19f81764

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
gcc/tree-optimization
patch_id
commit_hash
b052d6bbbeea2b04c8a4f765e89b0b3f19f81764
source_type
github
headline
Iterate PRE clean for cyclic value graphs
tldr
Fix PRE pass to handle cyclic value graphs by iterating.
author
Richard Biener
outcome
committed
performance_win
true
breaking_change
false
series_id
series_parts
[]
tags
  • optimization
  • compiler
discussion_id_link
bugzilla_pr
date
2026-06-26T00:00:00.000Z

The PRE (Partial Redundancy Elimination) optimization pass now iterates to correctly prune invalid expressions when encountering cyclic value graphs. This change addresses a specific test case exhibiting this cycle, ensuring more robust optimization.