commit | ece9d35f1a705ab8d66895c6d985907f2b9a2c0c | [log] [tgz] |
---|---|---|
author | Amara Emerson <amara@apple.com> | Wed May 01 05:42:14 2024 +0800 |
committer | Tom Stellard <tstellar@redhat.com> | Wed May 01 11:35:12 2024 -0700 |
tree | 4fdcf55b17a1ef4da7c91ffac1b51dc8d7f1a9c1 | |
parent | a7b8b890600a33e0c88d639f311f1d73ccb1c8d2 [diff] |
[GlobalISel] Fix store merging incorrectly classifying an unknown index expr as 0. (#90375) During analysis, we incorrectly leave the offset part of an address info struct as zero, when in actual fact we failed to decompose it into base + offset. This results in incorrectly assuming that the address is adjacent to another store addr. To fix this we wrap the offset in an optional<> so we can distinguish between real zero and unknown. Fixes issue #90242 (cherry picked from commit 19f4d68252b70c81ebb1686a5a31069eda5373de)
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.