[all-commits] [llvm/llvm-project] a59c4f: [Flang][OpenMP] Add global address space to global...
agozillon via All-commits
all-commits at lists.llvm.org
Wed Dec 11 08:40:16 PST 2024
Branch: refs/heads/users/agozillo/declare-target-to-1
Home: https://github.com/llvm/llvm-project
Commit: a59c4fbdb3daeaf1f11a96a0d658c6aae4e5b7dc
https://github.com/llvm/llvm-project/commit/a59c4fbdb3daeaf1f11a96a0d658c6aae4e5b7dc
Author: agozillon <Andrew.Gozillon at amd.com>
Date: 2024-12-11 (Wed, 11 Dec 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/FIRBuilder.h
M flang/include/flang/Optimizer/CodeGen/FIROpPatterns.h
M flang/lib/Optimizer/Builder/FIRBuilder.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/CodeGen/FIROpPatterns.cpp
M flang/test/Fir/convert-to-llvm.fir
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
Log Message:
-----------
[Flang][OpenMP] Add global address space to globals for target device
Currently we do not add the appropriate global address space to globals on the target device
pass, this PR attempts to add at least a preliminary number of these address spaces markings
and then add the appropriate casts where neccesary (from global to program primarily).
This allows for more correct IR that the backends (in particular AMDGPU) can treat more
aptly for optimisations and code correctness.
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