Landing: dc8aa54843e5
Project / Subsystem
gcc / gcc/phiopt
Date
2026-08-29
Author
Aldy Hernandez
Commit
dc8aa54843e5813d046a8b2fc3758b9e4064425d
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/phiopt
- patch_id
- —
- commit_hash
- dc8aa54843e5813d046a8b2fc3758b9e4064425d
- source_type
- github
- headline
- phiopt: Run condition replication in early optimization phase
- tldr
- Condition replication over PHI nodes now runs earlier in the optimization pipeline for improved code generation.
- author
- Aldy Hernandez
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • gcc
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-29T00:00:00.000Z
The replicate_conds_over_phis pass in the phiopt pass was previously gated by !early_p. This change removes that gate, allowing the pass to run during the early optimization phase as well. This adjustment, suggested by Jeff, aims to improve code generation by applying condition replication more broadly.