| commit | 22f9b4aa1dad597d908be77be1e10ba4c77330ce | [log] [tgz] |
|---|---|---|
| author | Yaxun (Sam) Liu <yaxun.liu@amd.com> | Thu Jun 12 20:08:55 2025 -0400 |
| committer | GitHub <noreply@github.com> | Thu Jun 12 20:08:55 2025 -0400 |
| tree | 0388920ef2bdafe9554c34dc4b14f1c12f120396 | |
| parent | 3ddd137332237918fbb6175c20327fe765d2c4ad [diff] |
Reland [HIP] use offload wrapper for non-device-only non-rdc (#132869) (#143964) Fixed two issues: 1. assertion with -flto. the linker wrapper action is missing for wrapping the device binary. Added it for -flto. 2. when there are two HIP files, the kernels in the second file were not found. This is because the -r option of linker wrapper assumes offload entries section of HIP to be hip_offloading_entries but it is actually llvm_offload_entries, causing the offload entries sections not made unique for different object files. Fixed and tested working for both -fgpu-rdc and -fno-gpu-rdc case with and without -r
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.