commit | c50d39f073f3b0143b781be80764d183ddab88d4 | [log] [tgz] |
---|---|---|
author | Ethan Luis McDonough <ethanluismcdonough@gmail.com> | Wed Mar 19 19:01:38 2025 -0500 |
committer | GitHub <noreply@github.com> | Wed Mar 19 19:01:38 2025 -0500 |
tree | 4e99ee2d575390d3bc3a84a940ea68ed311cd638 | |
parent | de2a451058730c932dd34cda8709ba64730a9124 [diff] |
[PGO][Offload] Allow PGO flags to be used on GPU targets (#94268) This pull request is the third part of an ongoing effort to extends PGO instrumentation to GPU device code and depends on https://github.com/llvm/llvm-project/pull/93365. This PR makes the following changes: - Allows PGO flags to be supplied to GPU targets - Pulls version global from device - Modifies `__llvm_write_custom_profile` and `lprofWriteDataImpl` to allow the PGO version to be overridden
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.