Landing: b57b0a72eb48

Project / Subsystem

gcc / gcc/ifcvt

Date

2026-05-22

Author

Andrew Pinski

Commit

b57b0a72eb482eeeb2572119a0a362869d5b957a

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/ifcvt
patch_id
commit_hash
b57b0a72eb482eeeb2572119a0a362869d5b957a
source_type
github
headline
ifcvt: Factor: Turn asserts about abnormals to conditional
tldr
The ifcvt pass now avoids factoring in cases where SSA names are used in abnormal edges.
author
Andrew Pinski
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • optimization
  • if-conversion
  • ssa
  • code generation
discussion_id_link
bugzilla_pr
date
2026-05-22T00:00:00.000Z

The if-conversion pass in GCC now avoids factoring operations when SSA names are used in abnormal edges, preventing potential issues. Previously, this condition would trigger an assertion, but now the factoring is skipped instead. A new test case has been added to verify this behavior.