commit | ad39049ec48edcb2ad4024c80f1cadfc9f0e4cb0 | [log] [tgz] |
---|---|---|
author | Alex MacLean <amaclean@nvidia.com> | Fri Apr 04 15:39:24 2025 -0700 |
committer | GitHub <noreply@github.com> | Fri Apr 04 15:39:24 2025 -0700 |
tree | 0a10c3b70c631ea15419ff3f55f102ad0d762402 | |
parent | 412f7fa31607489dc400321968a70e114463b374 [diff] |
[DAGCombiner] Attempt to fold 'add' nodes to funnel-shift or rotate (#125612) Almost all of the rotate idioms that are valid for an 'or' are also valid when the halves are combined with an 'add'. Further, many of these cases are not handled by common bits tracking meaning that the 'add' is not converted to a 'disjoint or'.
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.