commit | fa315eceb7ab6106729c6b52495891c3f0f58478 | [log] [tgz] |
---|---|---|
author | Philip Reames <preames@rivosinc.com> | Mon Mar 10 16:20:14 2025 -0700 |
committer | GitHub <noreply@github.com> | Mon Mar 10 16:20:14 2025 -0700 |
tree | f2b116138ee09e882af449f38f2a4fbd2bfcb776 | |
parent | b15ccd436aef320802635984f336fcfe5b69ff0b [diff] |
[RISCV] Convert vsub.vx to vadd.vi if possible (#130669) We'd already had this transform for the intrinsics, but hadn't added it for either fixed length or scalable vectors coming from normal IR. For the record, the fact we have three different sets of patterns here really is quite ugly.
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.