commit | 3b17d041dd775e033cca499f2a25548c8c22bb86 | [log] [tgz] |
---|---|---|
author | Benjamin Maxwell <benjamin.maxwell@arm.com> | Mon Dec 16 10:23:40 2024 +0000 |
committer | GitHub <noreply@github.com> | Mon Dec 16 10:23:40 2024 +0000 |
tree | 85c50e2e0630146abfbb3862db7dcf548a2b03c3 | |
parent | aff3e68d6f10dd3087c29a09865683b9d35a362e [diff] |
[AArch64][SVE] Don't require 16-byte aligned SVE loads/stores with +strict-align (#119732) Instead, allow any alignment >= the element size (in bytes). This is all that is needed for (predicated) vector loads even if unaligned accesses are disabled. See: https://developer.arm.com/documentation/ddi0602/2024-09/Shared-Pseudocode/aarch64-functions-memory?lang=en#impl-aarch64.Mem.read.3 Specifically: ``` // Check alignment on size of element accessed, not overall access size. constant integer alignment = if accdesc.ispair then size DIV 2 else size; ``` The `size` passed to `Mem` by SVE load/store instructions is the element size.
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.