| commit | 307713aafc011844acdcb18ca6acbf3f2de29f5f | [log] [tgz] |
|---|---|---|
| author | David Green <david.green@arm.com> | Sat Sep 07 15:31:26 2024 +0100 |
| committer | GitHub <noreply@github.com> | Sat Sep 07 15:31:26 2024 +0100 |
| tree | 01b3e3a4db7ca33dfaf80c19a502c4772ed8d9bc | |
| parent | 3ba0755d3e50c62d27ac9c37a0250f525dcad28d [diff] |
[AArch64] Do not generate uitofp(ld4) where and/shift can be used. (#107538) After #107201 and #107367 the codegen for zext(ld4) can use and / shift to extract the lanes out of the original vectors elements. This avoids the need for the expensive ld4 operations, so can lead to performance improvements over using the interleaving loads and ushll. This patch stops the generation of ld4 for uitofp(ld4) that would become uitofp(zext(ld4)). It doesn't handle zext yet to make sure that widening instructions like mull and addl are not adversely affected.
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.