Landing: fd9e93671953
Project / Subsystem
gcc / ifcvt
Date
2026-09-06
Author
Kyrylo Tkachov
Commit
fd9e936719537d84685a6fe52d18ce3eac96c2f3
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- ifcvt
- patch_id
- —
- commit_hash
- fd9e936719537d84685a6fe52d18ce3eac96c2f3
- source_type
- github
- headline
- ifcvt: factor the reversed-condition decode
- tldr
- Centralizes logic for handling reversed conditions in conditional code optimizations.
- author
- Kyrylo Tkachov
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • ifcvt
- • refactor
- • optimization
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-06T00:00:00.000Z
GCC’s ifcvt pass has factored out the logic for decoding reversed conditions into a new function, noce_reversed_cond. Previously, this decoding was implemented inline in multiple matcher functions. The new function simplifies the code by handling both the condition and its associated code, reducing duplication and improving maintainability.