Landing: fed7299b89f6

Project / Subsystem

gcc / gcc/pru

Date

2026-03-25

Author

Dimitar Dimitrov

Commit

fed7299b89f62b64bd3433faace4eb5bb69fc3ef

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/pru
patch_id
commit_hash
fed7299b89f62b64bd3433faace4eb5bb69fc3ef
source_type
github
headline
pru: Transform patterns to use hard register constraints
tldr
Refactors PRU backend to use hard register constraints, simplifying register class definitions.
author
Dimitar Dimitrov
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • pru
  • register allocation
  • refactor
discussion_id_link
bugzilla_pr
date
2026-03-25T00:00:00.000Z

The PRU backend now uses hard register constraints, which simplifies register class definitions by removing single-register classes. Predicates are updated to directly compare register numbers, and the mulsi3 and umulsidi3 patterns have been updated to use the new constraints, yielding cleaner code.