Landing: fd3e590360dc
Project / Subsystem
gcc / cselim
Date
2026-06-21
Author
Andrew Pinski
Commit
fd3e590360dc4f479e69142ed1bd6775c07213b6
Source
github
Perf win
Yes
Breaking
No
All attributes
- project
- gcc
- subsystem
- cselim
- patch_id
- —
- commit_hash
- fd3e590360dc4f479e69142ed1bd6775c07213b6
- source_type
- github
- headline
- cselim: Reduced conditional store elimination without non-trapping
- tldr
- New reduced conditional store elimination function enables optimizations in phiopt and handles cases without prior loads/stores.
- author
- Andrew Pinski
- outcome
- committed
- performance_win
- true
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • compiler pass
- • SSA
- • memory access
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-06-21T00:00:00.000Z
A new, reduced functionality for conditional store elimination (cond_store_replacement_limited) has been introduced. This function, designed for use by the phiopt pass, can operate even without the full non-trapping code analysis. It supports optimizing cases where a store occurs before a conditional, or where a non-trapping load precedes the conditional, and also handles edge cases with non-trapping memory access.