[all-commits] [llvm/llvm-project] c1324c: [flang][cuda] Implicitly attribute ALLOCATABLE/POI...

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Sun Sep 20 22:37:04 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c1324c4b3404119e3128874351eebb3400c2b5c0
      https://github.com/llvm/llvm-project/commit/c1324c4b3404119e3128874351eebb3400c2b5c0
  Author: Kareem Ergawy <kergawy at nvidia.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M flang/include/flang/Semantics/symbol.h
    M flang/lib/Lower/Allocatable.cpp
    M flang/lib/Semantics/check-allocate.cpp
    M flang/lib/Semantics/resolve-names.cpp
    M flang/lib/Semantics/tools.cpp
    A flang/test/Lower/CUDA/cuda-gpu-managed-components-order.cuf
    A flang/test/Lower/CUDA/cuda-gpu-managed-components.cuf

  Log Message:
  -----------
  [flang][cuda] Implicitly attribute ALLOCATABLE/POINTER components as managed (#223087)

Under `-gpu=mem:managed`, `resolve-names` implicitly attributes
allocatables and
pointers declared in an ordinary scope as managed.

Apply the same attribution to components in `Post(ComponentDecl)`. An
explicitly
attributed component keeps its own attribute, and a translation unit
without
CUDA Fortran enabled is left alone.



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