[all-commits] [llvm/llvm-project] 7efd61: [flang][cuda] Get device address in fir.declare (#...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Dec 4 13:37:20 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7efd6139f2d1139e3b434a21992967531f469acc
      https://github.com/llvm/llvm-project/commit/7efd6139f2d1139e3b434a21992967531f469acc
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-12-04 (Wed, 04 Dec 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Transforms/CUFOpConversion.h
    M flang/lib/Optimizer/Transforms/CUFOpConversion.cpp
    M flang/test/Fir/CUDA/cuda-data-transfer.fir
    A flang/test/Fir/CUDA/cuda-global-addr.mlir

  Log Message:
  -----------
  [flang][cuda] Get device address in fir.declare (#118591)

Add pattern that update fir.declare memref when it comes from a device
global and is not a descriptor. In that case, we recover the device
address that needs to be used in ops like `fir.array_coor` and so on.



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