| commit | 9c0e09e0c16a28ff1c20fd686a2fc24bc6e8e7f8 | [log] [tgz] |
|---|---|---|
| author | Florian Hahn <flo@fhahn.com> | Mon Oct 06 21:24:02 2025 |
| committer | Florian Hahn <flo@fhahn.com> | Mon Oct 06 21:24:02 2025 |
| tree | 98fee9465a2d429881d49626b125dbb604272ff5 | |
| parent | 58ce3e20e55c67298da94eabe4e25f8baeb45fa7 [diff] |
[VPlan] Process ExpressionRecipes in reverse order in constructor. Currently there's a crash when trying to construct VPExpressionRecipes for a mul (ext, ext), if the multiply has outside users; the mul will be cloned to serve its external users, but the extends won't get cloned and will stay connected to users outside the loop (the cloned multiply). To fix this, process recipes in reverse order. This ensures that we visit bundled users before their operands, properly ensuring that the extends for the external user are cloned as well.
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.