aarch64: Add helper for contiguous loads
A new helper function simplifies contiguous load operations for the AArch64 backend, aiding future refactoring.
This commit introduces a new helper function, fold_contiguous_load, to the AArch64 backend of GCC. This function is designed to encapsulate and simplify the logic for processing contiguous memory load operations. It serves as a foundational element for an upcoming refactoring effort focused on AArch64 loads, particularly for supporting SVE features.
In Details
A new gimple_folder::fold_contiguous_load helper function has been added to the AArch64 GCC backend. This function aims to encapsulate the logic for folding contiguous memory loads, improving code readability and maintainability. It is a preparatory step for a larger refactoring of AArch64 loads, specifically to support the Heterogeneous System Services (HSSR) feature.
- AArch64
- The 64-bit ARM architecture.
- GIMPLE
- GCC's internal three-address code representation, used after parsing and before optimization.
- helper function
- A small function designed to perform a specific task, often used to simplify larger functions or provide reusable logic.
- HSSR
- Heterogeneous System Services, likely a feature or framework related to managing heterogeneous computing resources.