[PATCH 06/23] aarch64: Make comparison to QLF_NIL more explicit
Project / Subsystem
binutils / aarch64
Date
2026-05-07
Proposer
Alice Carlotti <alice.carlotti@arm.com>
Source type
public_inbox
Consensus
Proposed
Sentiment
—/10
Technical tradeoffs
- • Improved code readability and maintainability.
- • No performance impact.
All attributes
- project
- binutils
- subsystem
- aarch64
- patch_id
- —
- discussion_id
- 94df841a-b5c2-4df7-b7b0-c03a23bcb35c@e124511.cambridge.arm.com
- source_type
- public_inbox
- title
- [PATCH 06/23] aarch64: Make comparison to QLF_NIL more explicit
- headline
- Aarch64: Make comparison to QLF_NIL more explicit
- tldr
- Replaces implicit zero checks with explicit comparisons to `AARCH64_OPND_QLF_NIL` in qualifier checks.
- proposer
- Alice Carlotti <alice.carlotti@arm.com>
- consensus
- Proposed
- outcome
- proposed
- sentiment_score
- —
- technical_tradeoffs
-
- • Improved code readability and maintainability.
- • No performance impact.
- series_id
- binutils:aarch64: make comparison to qlf_nil more explicit
- series_role
- reply
- series_parts
- []
- tags
-
- • aarch64
- • assembler
- • readability
- • explicit comparison
- url
- https://inbox.sourceware.org/binutils/94df841a-b5c2-4df7-b7b0-c03a23bcb35c@e124511.cambridge.arm.com
- bugzilla_url
- —
- date
- 2026-05-07T00:00:00.000Z
[PATCH 06/23] aarch64: Make comparison to QLF_NIL more explicit
This patch enhances code clarity by replacing implicit checks for null (AARCH64_OPND_QLF_NIL) with explicit comparisons. The code now directly compares qualifiers against AARCH64_OPND_QLF_NIL instead of relying on the assumption that AARCH64_OPND_QLF_NIL is zero. This improves readability and avoids potential issues if the value of AARCH64_OPND_QLF_NIL changes.