commit | cb6f021af2354761357684ffa26ebbe718615244 | [log] [tgz] |
---|---|---|
author | Luke Lau <luke@igalia.com> | Mon Jan 27 23:54:32 2025 +0800 |
committer | GitHub <noreply@github.com> | Mon Jan 27 23:54:32 2025 +0800 |
tree | 0ba14e068e0b7228d02583db0b59df22df4e2f6d | |
parent | f95f10c7e65b9abd9b4e2ed71190d08565952ec0 [diff] |
[RISCV][VLOPT] Remove unnecessary passthru restriction (#124549) We currently check for passthrus in two places, on the instruction to reduce in isCandidate, and on the users in checkUsers. We cannot reduce the VL if an instruction has a user that's a passthru, because the user will read elements past VL in the tail. However it's fine to reduce an instruction if it itself contains a non-undef passthru. Since the VL can only be reduced, not increased, the previous tail will always remain the same.
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.