Landing: 5b6dfd6941c7

Project / Subsystem

gcc / ifcvt

Date

2026-07-23

Author

Kyrylo Tkachov

Commit

5b6dfd6941c7f8c4ff52cead84ba4eda3caaa243

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ifcvt
patch_id
—
commit_hash
5b6dfd6941c7f8c4ff52cead84ba4eda3caaa243
source_type
github
headline
ifcvt: drop a redundant else_bb test in noce_process_if_block
tldr
Removes an unnecessary check for the else_bb pointer in the ifcvt optimization pass.
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-07-23T00:00:00.000Z

A redundant check for the else_bb pointer has been removed from the noce_process_if_block function within GCC’s ifcvt optimization pass. The test was located within a code block that was already guaranteed to have a non-null else_bb due to prior conditions. This change simplifies the code without affecting its behavior.