Landing: 6bae0c37c955

Project / Subsystem

gcc / gcc

Date

2026-05-07

Author

Richard Sandiford

Commit

6bae0c37c95565171657a15ab4dcfd13a6898769

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc
patch_id
commit_hash
6bae0c37c95565171657a15ab4dcfd13a6898769
source_type
github
headline
Add post_ra_split_completed to allow later condition-code clobbers.
tldr
Allows targets to introduce new condition-code register clobbers after the first post-RA split, converting the RX port to this form.
author
Richard Sandiford
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • register allocation
  • condition code
  • RX port
discussion_id_link
bugzilla_pr
date
2026-05-07T00:00:00.000Z

This change introduces a new flag, post_ra_split_completed, to delay the point at which the condition-code register is considered live. This allows targets to introduce new clobbers of the condition-code register later in the compilation process (specifically, after the first post-RA split), which can improve code generation. The RX port is converted to use this new mechanism.