| commit | 757a0e6d3b6130a984960ee413a3c8a6f99c7cb5 | [log] [tgz] |
|---|---|---|
| author | Stephen Tozer <stephen.tozer@sony.com> | Wed Jun 18 11:29:23 2025 +0200 |
| committer | GitHub <noreply@github.com> | Wed Jun 18 10:29:23 2025 +0100 |
| tree | 728c7e70e730cab14d6bd812963b5dab46559294 | |
| parent | 6fcdde2a4eb9eaf34511ac3a35075be329fe1fae [diff] |
[SystemZ] Treat FAKE_USE instructions as instructions without a size (#144390) This patch fixes an error in which `FAKE_USE` instructions would trigger an assertion in SystemZLongBranch due to them having a size of 0 without being excepted in the assertion that each instruction, other than a set of known 0-size instruction types, should have a non-0 size. `FAKE_USE` instructions are no-op instructions that are emitted into LLVM by the `-fextend-variable-liveness` clang flag to help preserve the liveness of source variables in optimized code, and therefore they should be understood as being valid size 0 instructions.
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.