[all-commits] [llvm/llvm-project] c7263e: [Flang][OpenMP] Add global address space to global...
agozillon via All-commits
all-commits at lists.llvm.org
Wed Jan 15 17:15:35 PST 2025
Branch: refs/heads/users/agozillo/declare-target-to-1
Home: https://github.com/llvm/llvm-project
Commit: c7263e78dc3cdefefef52369aeed96864f04c0bf
https://github.com/llvm/llvm-project/commit/c7263e78dc3cdefefef52369aeed96864f04c0bf
Author: agozillon <Andrew.Gozillon at amd.com>
Date: 2025-01-15 (Wed, 15 Jan 2025)
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.
Co-authored-by: Raghu Maddhipatla <raghu.maddhipatla at amd.com>
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