[all-commits] [llvm/llvm-project] d6d52a: [flang][cuda] Do not generate cuf.alloc/cuf.free i...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Thu May 22 13:30:56 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d6d52a4abc71c583bd5391c5c0b36483c65081fe
https://github.com/llvm/llvm-project/commit/d6d52a4abc71c583bd5391c5c0b36483c65081fe
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2025-05-22 (Thu, 22 May 2025)
Changed paths:
M flang/lib/Lower/ConvertVariable.cpp
M flang/test/Lower/CUDA/cuda-allocatable.cuf
M flang/test/Lower/CUDA/cuda-shared.cuf
Log Message:
-----------
[flang][cuda] Do not generate cuf.alloc/cuf.free in device context (#141117)
`cuf.alloc` and `cuf.free` are converted to `fir.alloca` or deleted when
in device context during the CUFOpConversion pass. Do not generate them
in lowering to avoid confusion.
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