commit | ed19620b8c93f27f322b2f40136e5bd428827e00 | [log] [tgz] |
---|---|---|
author | Elvis Wang <elvis.wang@sifive.com> | Tue Mar 18 10:08:23 2025 +0800 |
committer | GitHub <noreply@github.com> | Tue Mar 18 10:08:23 2025 +0800 |
tree | 35f90a6e8e1e631b3dc986dfef87a3bf7f7885ab | |
parent | 00cad3ed228005fa059c23c55bd35f042b624bf1 [diff] |
[VPlan] Make VPReductionRecipe a VPRecipeWithIRFlags. NFC (#130881) This patch change the parent of the VPReductionRecipe from VPSingleDefRecipe to VPRecipeWithIRFlags and also print/get/drop/control flags by the VPRecipeWithIRFlags. This will remove the dependency of the underlying instruction. This patch also add a new function `setFastMathFlags()` to the VPRecipeWithIRFlags because the entire reduction chain may contains multiple instructions. And the underlying instruction may not contains the corresponding flags for this reduction. Split from #113903.
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.