commit | ebcb4929004ae3f08b2ca3d5d246f29aa73600e1 | [log] [tgz] |
---|---|---|
author | Gaëtan Bossu <gaetan.bossu@arm.com> | Thu Jul 31 13:07:28 2025 +0000 |
committer | Gaëtan Bossu <gaetan.bossu@arm.com> | Fri Aug 01 09:23:30 2025 +0000 |
tree | 29324702b4575e221c0efb710a6bf580059188e4 | |
parent | 73245b06b3da19ef70e04cf0f0a0d0df1ba82a57 [diff] |
[AArch64][ISel] Subvector extracts can use undef for second EXT input This will later allow us to use the SVE2 constructive variant of EXT without requiring a MOV. That is because that variant of EXT requires two consecutive Z registers as input. As a consequence, extracting a subvector from e.g. z2 into z0 would require: z3 = MOV z2 z0 = EXT_ZZI_B { z2, z3 }, idx With this change, the z3 part of the { z2, z3 } tuple will be marked as undef, allowing the MOV to be simplified. We just need to add patterns for EXT_ZZI_B now, currently only the the destructive EXT_ZZI variant is selected.
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.