Landing: a0087decb182

Project / Subsystem

gcc / ifcvt

Date

2026-09-06

Author

Kyrylo Tkachov

Commit

a0087decb18297a575cbeb84020abc76634f7a27

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ifcvt
patch_id
—
commit_hash
a0087decb18297a575cbeb84020abc76634f7a27
source_type
github
headline
ifcvt: Count converted if-blocks in the noce epilogue and rename a flag.
tldr
Updates ifcvt to correctly count converted blocks and improves naming for clarity.
author
Kyrylo Tkachov
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • refactor
  • • optimization
discussion_id_link
—
bugzilla_pr
—
date
2026-09-06T00:00:00.000Z

This commit modifies the GCC ifcvt pass to count converted if-blocks within the noce_finish_if_conversion helper function, aligning it with the CFG change it represents. Additionally, the flag cond_exec_changed_p is renamed to ifcvt_changed_p to more accurately reflect its purpose, as it signals that any conversion has occurred, not just conditional execution. These adjustments enhance accuracy and code clarity.