Landing: b54491cec183

Project / Subsystem

gcc / xtensa

Date

2026-05-10

Author

Takayuki 'January June' Suwa

Commit

b54491cec183b3b2ccd2214988ec2257e0755873

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
xtensa
patch_id
commit_hash
b54491cec183b3b2ccd2214988ec2257e0755873
source_type
github
headline
Xtensa: Revise xtensa_expand_prologue()
tldr
This commit refactors ``xtensa_expand_prologue()`` to use C++ references instead of pointers for return values.
author
Takayuki 'January June' Suwa
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • xtensa
  • refactor
  • prologue
discussion_id_link
bugzilla_pr
date
2026-05-10T00:00:00.000Z

This commit refactors the xtensa_expand_prologue() function in the Xtensa backend. It changes the arguments of xtensa_can_eliminate_callee_saved_reg_p to use C++ references instead of pointers for returning values, as well as adjusting the call to xtensa_can_eliminate_callee_saved_reg_p() in xtensa_expand_prologue to match the changes. There are no functional changes.