Landing: e7dcba030640

Project / Subsystem

gcc / aarch64

Date

2026-05-11

Author

Tamar Christina

Commit

e7dcba03064011c65f3a87c1e89bdd281909b279

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
aarch64
patch_id
commit_hash
e7dcba03064011c65f3a87c1e89bdd281909b279
source_type
github
headline
AArch64: Turn on GPR narrowing pass by default
tldr
The GPR narrowing pass is now enabled by default for all AArch64 targets, optimizing code by using smaller register sizes where possible.
author
Tamar Christina
outcome
committed
performance_win
true
breaking_change
false
series_id
series_parts
[]
tags
  • aarch64
  • optimization
  • register allocation
discussion_id_link
bugzilla_pr
date
2026-05-11T00:00:00.000Z

This commit enables the GPR (General Purpose Register) narrowing pass by default for all AArch64 targets. The GPR narrowing pass attempts to use smaller register sizes (e.g., 32-bit registers instead of 64-bit registers) when possible, which can improve code density and performance, especially on memory-constrained systems.