| commit | 4d3c427f339562b73938296d77103baf9ab9dc4b | [log] [tgz] |
|---|---|---|
| author | Mirko <mirkomueller97@live.de> | Sat Nov 02 03:13:18 2024 +0100 |
| committer | GitHub <noreply@github.com> | Fri Nov 01 19:13:18 2024 -0700 |
| tree | cfe98f09afe95d42e84f9a5f5f818898f83f0675 | |
| parent | 6ca816f88d5f0f2032d1610207023133eaf40a1e [diff] |
[CodeGen] Use first EHLabel as a stop gate for live range shrinking (#114195) This fixes issue #114194 The issue happens during the `LiveRangeShrink` pass, which runs early, before phi elimination. LandingPads, which are lowered to EHLabels, need to be the first non phi instruction in an EHPad. In case of a phi node being in front of the EHLabel and a use being after the EHLabel, we hoist the use in front of the label. This results in a portion of the landingpad missing due to being hoisted in front of the label.
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.