| commit | 56e60bc5bbfb8fdf2b22a897e8801c87771c84e8 | [log] [tgz] |
|---|---|---|
| author | Jon Roelofs <jonathan_roelofs@apple.com> | Wed Jul 12 13:49:34 2023 -0700 |
| committer | Jon Roelofs <jonathan_roelofs@apple.com> | Wed Jul 12 16:13:27 2023 -0700 |
| tree | c131f84d0d74229b1cc548c70dbf7ca4f472608f | |
| parent | 71548de4d885b74e7291db55e8705417ffd49c95 [diff] |
TargetLowering: fix an infinite DAG combine in SimplifySETCC TargetLowering::SimplifySetCC wants to swap the operands of a SETCC to canonicalize the constant to the RHS. The bug here was that it did so whether or not the RHS was already a constant, leading to an infinite loop. rdar://111847838 Divverential revision: https://reviews.llvm.org/D155095 This reverts commit cdc633e4bc93d4bf241ecd4c29691ae065749313.
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.