[all-commits] [llvm/llvm-project] bc9119: [flang][cuda] Lower device is active as an operati...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Wed Sep 23 16:32:25 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc9119b4259a08bbc58787303a829214f95d079c
      https://github.com/llvm/llvm-project/commit/bc9119b4259a08bbc58787303a829214f95d079c
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2026-09-23 (Wed, 23 Sep 2026)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/Runtime/CUDA/Support.h
    M flang/include/flang/Optimizer/Dialect/CUF/CUFOps.td
    M flang/include/flang/Optimizer/Transforms/Passes.td
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Optimizer/Builder/Runtime/CUDA/Support.cpp
    M flang/lib/Optimizer/Transforms/CUDA/CUFOpConversion.cpp
    M flang/lib/Optimizer/Transforms/CUDA/CUFOpConversionLate.cpp
    A flang/test/Fir/CUDA/cuda-device-is-active.mlir
    M flang/test/Fir/cuf.mlir
    M flang/test/Lower/CUDA/cuda-allocatable.cuf
    M flang/test/Lower/CUDA/cuda-derived.cuf
    M flang/test/Lower/CUDA/cuda-return01.cuf
    M flang/test/Lower/CUDA/cuda-return02.cuf

  Log Message:
  -----------
  [flang][cuda] Lower device is active as an operation (#225583)

Instead of lowering straight to a functin call, go through an op so it
can be lowered differently between device and host.



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