| commit | 374cbfd3275d0a4ee9c52807a8170b423a13ffa2 | [log] [tgz] |
|---|---|---|
| author | Mircea Trofin <mtrofin@google.com> | Wed Aug 13 02:01:00 2025 +0200 |
| committer | GitHub <noreply@github.com> | Wed Aug 13 02:01:00 2025 +0200 |
| tree | 54085f804d8f885dbc702f2ec3afb4266effd0ec | |
| parent | e8608960b1a48d829c6ef14ed7b5cd76c3ef958a [diff] |
[licm] clone `MD_prof` when hoisting conditional branch (#152232) The profiling - related metadata information for the hoisted conditional branch should be copied from the original branch, not from the current terminator of the block it's hoisted to. The patch adds a way to disable the fix just so we can do an ablation test, after which the flag will be removed. The same flag will be reused for other similar fixes. (This was identified through `profcheck` (see Issue #147390), and this PR addresses most of the test failures (when running under profcheck) under `Transforms/LICM`.)
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.