[all-commits] [llvm/llvm-project] d86311: [Flang-new][OpenMP] Add bitcode files for AMD GPU ...
Dominik Adamski via All-commits
all-commits at lists.llvm.org
Mon Jul 29 02:22:01 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d86311f293ebc3867733d4453e0d6c929e620d8b
https://github.com/llvm/llvm-project/commit/d86311f293ebc3867733d4453e0d6c929e620d8b
Author: Dominik Adamski <dominik.adamski at amd.com>
Date: 2024-07-29 (Mon, 29 Jul 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Flang.cpp
M flang/test/Driver/omp-driver-offload.f90
M flang/test/Driver/target-cpu-features.f90
M flang/test/Driver/target-gpu-features.f90
Log Message:
-----------
[Flang-new][OpenMP] Add bitcode files for AMD GPU OpenMP (#96742)
Flang-new needs to add `mlink-builtin-bitcode` objects to properly
support offload code generation for AMD GPUs (for example, math
functions).
Both Flang-new and Clang rely on `mlink-builtin-bitcode` flags. These
flags are added by the `AMDGPUOpenMPToolchain::addClangTargetOptions`
function. Now, both compilers reuse the same function.
Flang-new tests for AMDGPU were updated by adding the `-nogpulib` flag.
This flag allows running AMDGPU tests on machines without the ROCm stack.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list