commit | 711b15d179b3bf861eceb75e30cb9a39d1d88857 | [log] [tgz] |
---|---|---|
author | Luke Lau <luke@igalia.com> | Wed Apr 02 17:57:13 2025 +0100 |
committer | GitHub <noreply@github.com> | Wed Apr 02 17:57:13 2025 +0100 |
tree | 87a62984e892db5a8405cab4cec3ed3afb61ce31 | |
parent | fa2a6d68c6f35e478af3425760ae39e866049eee [diff] |
[RISCV] Mark subvector extracts from index 0 as cheap (#134101) Previously we only marked fixed length vector extracts as cheap, so this extends it to any extract at index 0 which should just be a subreg extract. This allows extracts of i1 vectors to be considered for DAG combines, but also scalable vectors too. This causes some slight improvements with large legalized fixed-length vectors, but the underlying motiviation for this is to actually prevent an unprofitable DAG combine on a scalable vector in an upcoming patch.
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.