Landing: b085ae4b49b4

Project / Subsystem

gcc / gcc/x86

Date

2026-08-25

Author

Roger Sayle

Commit

b085ae4b49b41e146c0a6a6c16c8c588438b9528

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
gcc/x86
patch_id
—
commit_hash
b085ae4b49b41e146c0a6a6c16c8c588438b9528
source_type
github
headline
RTL simplifications improve x86 complex argument passing.
tldr
Optimized generation of RTL for passing complex values on x86.
author
Roger Sayle
outcome
committed
performance_win
true
breaking_change
false
series_id
—
series_parts
[]
tags
  • • x86
  • • optimization
  • • compiler
discussion_id_link
—
bugzilla_pr
—
date
2026-08-25T00:00:00.000Z

This change introduces RTL simplifications to simplify-rtx.cc to address inefficient passing of complex values on x86. The optimization resolves a bug where the compiler generated spurious instructions for assignments involving complex float types. The new RTL simplifies the code generation, producing more optimal assembly.