Landing: bfd190682ca8

Project / Subsystem

gcc / match

Date

2026-08-21

Author

Andrea Pinski

Commit

bfd190682ca8e21b66843f5aab180dbdbf9f664c

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
match
patch_id
—
commit_hash
bfd190682ca8e21b66843f5aab180dbdbf9f664c
source_type
github
headline
match: simplify cond_carry_add and cond_carry_add_neg match by using `:c`
tldr
Simplified match patterns for conditional carry-add operations using the `:c` specifier.
author
Andrea Pinski
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • maintenance
discussion_id_link
—
bugzilla_pr
—
date
2026-08-21T00:00:00.000Z

GCC’s match patterns for cond_carry_add and cond_carry_add_neg have been simplified by using the :c specifier. Previously, these patterns explicitly handled swapped operands for less-than/greater-than comparisons. The :c specifier allows the pattern to more elegantly express these conditional operations, making the patterns easier to maintain without changing the generated code.