commit | 64082912a500d004c53ad1b3425098b495572663 | [log] [tgz] |
---|---|---|
author | Philip Reames <preames@rivosinc.com> | Mon May 12 15:04:45 2025 -0700 |
committer | GitHub <noreply@github.com> | Mon May 12 15:04:45 2025 -0700 |
tree | 26e720977b7065eae3aae988fb51b61aa42b6a3d | |
parent | 045fdda39d43b65aea3604696f53b9fbc78143fb [diff] |
[RISCV] Fold add_vl into accumulator operand of vqdot* (#139484) If we have a add_vl following a vqdot* instruction, we can move the add before the vqdot instead. For cases where the prior accumulator was zero, we can fold the add into the vqdot* instruction entirely. This directly parallels the folding we do for multiply add variants.
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.