| commit | f7d1baa414e6e4fca04092cb2f71e9b037c762f0 | [log] [tgz] |
|---|---|---|
| author | Nikita Popov <npopov@redhat.com> | Mon May 15 17:56:02 2023 +0200 |
| committer | Nikita Popov <npopov@redhat.com> | Tue May 23 14:41:22 2023 +0200 |
| tree | ea94854d0ca8b5ece0bdecec12b40f71e5c8d95d | |
| parent | 35ce741ef3e3dd9db1da3ea0a06c565cb90f665a [diff] |
[KnownBits] Return zero instead of unknown for always poison shifts For always poison shifts, any KnownBits return value is valid. Currently we return unknown, but returning zero is generally more profitable. We had some code in ValueTracking that tried to do this, but was actually dead code. Differential Revision: https://reviews.llvm.org/D150648
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, or #llvm IRC channel on OFTC.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.