[all-commits] [llvm/llvm-project] eef4b5: [flang] [cuda] Fix CUDA implicit data transfer ent...
Zhen Wang via All-commits
all-commits at lists.llvm.org
Mon May 12 10:07:01 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: eef4b5a0cdf102e5035d6d4f1aa5f85b2b787e84
https://github.com/llvm/llvm-project/commit/eef4b5a0cdf102e5035d6d4f1aa5f85b2b787e84
Author: Zhen Wang <37195552+wangzpgi at users.noreply.github.com>
Date: 2025-05-12 (Mon, 12 May 2025)
Changed paths:
M flang/lib/Lower/Bridge.cpp
A flang/test/Lower/CUDA/cuda-managed.cuf
Log Message:
-----------
[flang] [cuda] Fix CUDA implicit data transfer entity creation (#139414)
Fixed an issue in `genCUDAImplicitDataTransfer` where creating an
`hlfir::Entity` from a symbol address could fail when the address comes
from a `hlfir.declare` operation. Fix is to check if the address comes
from a `hlfir.declare` operation. If so, use the base value from the
declare op when available. Falling back to the original address
otherwise.
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