Landing: 36b9e83b1924
Project / Subsystem
gcc / aarch64
Date
2026-04-24
Author
Soumya AR
Commit
36b9e83b1924ae47df7f37007ad3a79e3a648c8d
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- aarch64
- patch_id
- —
- commit_hash
- 36b9e83b1924ae47df7f37007ad3a79e3a648c8d
- source_type
- github
- headline
- Remove redundant m_curr_insn initialization/de-initialization
- tldr
- Removes redundant initialization and de-initialization of `m_curr_insn` in the `narrow_gp_writes` class for AArch64, simplifying the code.
- author
- Soumya AR
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • aarch64
- • cleanup
- • code quality
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-04-24T00:00:00.000Z
This commit removes redundant initialization and de-initialization of the m_curr_insn member variable within the narrow_gp_writes class in the AArch64 backend. The variable already has a default member initializer, making the explicit assignment in the constructor unnecessary. Similarly, the assignment in the destructor is redundant because the member’s lifetime ends with the object. This change simplifies the code without affecting functionality.