[all-commits] [llvm/llvm-project] 46caad: [flang][cuda] Do not produce data transfer in offl...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Tue Jul 8 10:52:37 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 46caad52ac14cefd6f9cf3188863818e330f3844
https://github.com/llvm/llvm-project/commit/46caad52ac14cefd6f9cf3188863818e330f3844
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2025-07-08 (Tue, 08 Jul 2025)
Changed paths:
M flang/include/flang/Optimizer/Builder/CUFCommon.h
M flang/include/flang/Support/Fortran-features.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Optimizer/Builder/CUFCommon.cpp
M flang/lib/Semantics/assignment.cpp
M flang/lib/Semantics/assignment.h
M flang/lib/Semantics/check-cuda.cpp
M flang/lib/Semantics/check-cuda.h
M flang/test/Lower/CUDA/cuda-data-transfer.cuf
M flang/tools/bbc/bbc.cpp
Log Message:
-----------
[flang][cuda] Do not produce data transfer in offloaded do concurrent (#147435)
If a `do concurrent` loop is offloaded then there should be no CUDA data
transfer in it. Update the semantic and lowering to take that into
account.
`AssignmentChecker` has to be put into a separate pass because the
checkers in `SemanticsVisitor` cannot have the same `Enter/Leave`
functions. The `DoForallChecker` already has `Eneter/Leave` functions
for the `DoConstruct`.
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