Landing: f535ac5bae67

Project / Subsystem

gcc / gcc/i386

Date

2026-04-28

Author

Uros Bizjak

Commit

f535ac5bae67dddb7d93402764d9a6416bc99094

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/i386
patch_id
commit_hash
f535ac5bae67dddb7d93402764d9a6416bc99094
source_type
github
headline
i386: Avoid Redundant Argument Classification in construct_container
tldr
This commit optimizes argument handling in the i386 backend by removing a redundant call to classify_argument in construct_container.
author
Uros Bizjak
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • i386
  • optimization
  • code generation
discussion_id_link
bugzilla_pr
date
2026-04-28T00:00:00.000Z

This commit optimizes the i386 backend by removing a redundant call to classify_argument within the construct_container function. The examine_argument function already invokes classify_argument, making the initial call redundant. By recomputing the classification only when needed, this change streamlines the code and improves efficiency, without any intended functional change. The type of the in_return parameter in examine_argument is also changed to bool for clarity.