Landing: eb8011467d0c
Project / Subsystem
gcc / phiopt
Date
2026-06-22
Author
Andrew Pinski
Commit
eb8011467d0ce70cae098a88569a0c8a5b7f5683
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- phiopt
- patch_id
- —
- commit_hash
- eb8011467d0ce70cae098a88569a0c8a5b7f5683
- source_type
- github
- headline
- phiopt: Limited conditional store elimination for non-diamond cases
- tldr
- Phiopt pass now uses a limited conditional store elimination, improving optimization for non-diamond control flow structures.
- author
- Andrew Pinski
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • compiler pass
- • phi nodes
- • control flow
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-06-22T00:00:00.000Z
The phiopt pass has been enhanced to invoke a limited conditional store elimination function, even when code does not form a perfect diamond. This allows for earlier optimization of conditional code, particularly benefiting scenarios like the perlbmk benchmark. The limited version’s independence from store sinking expands its applicability in loop optimizations.