commit | fa3a6859263a488ac94eedd27b1e6f232311e3e9 | [log] [tgz] |
---|---|---|
author | Karl-Johan Karlsson <karl-johan.karlsson@ericsson.com> | Thu Sep 28 07:26:39 2023 +0200 |
committer | GitHub <noreply@github.com> | Thu Sep 28 07:26:39 2023 +0200 |
tree | 6d73c8104ddeef3ea0737440bb4dacaaa1896b9a | |
parent | c75e3ea4bd0562c06058f5b5ea4e5102ae3f3842 [diff] |
[MachineLICM] Clear subregister kill flags (#67240) When hosting a loop invariant instruction the resulting register must be live in all the basic blocks of the loop body and the killed flags of the register must be cleared. Before this patch killed flags of subregister to a hoisted superregister was not cleared in the loop body. This was found in an out of tree target, but the testcase mlicm-stack-write-check.mir was modified to trigger the case.
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.