Landing: 85bbf625a94d

Project / Subsystem

gcc / gcc

Date

2026-08-20

Author

Andrew MacLeod

Commit

85bbf625a94d49d092272203e84b5f8485bd8687

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
—
commit_hash
85bbf625a94d49d092272203e84b5f8485bd8687
source_type
github
headline
Improve equiv_oracle::clear performance
tldr
Optimizes equiv_oracle::clear by tracking basic blocks with equivalences.
author
Andrew MacLeod
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • optimization
  • • gcc
  • • performance
  • • compiler
discussion_id_link
—
bugzilla_pr
—
date
2026-08-20T00:00:00.000Z

The equiv_oracle::clear method’s performance is enhanced by introducing a mechanism to track basic blocks containing equivalences for SSA names. Instead of re-processing all blocks, clear now focuses only on the necessary blocks, improving efficiency for equivalence tracking during optimization passes. This change is related to PR tree-optimization/126856.