[all-commits] [llvm/llvm-project] 397d99: [flang][cuda] Fix unregistered allocator (#195924)

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue May 5 14:34:25 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 397d99d37a4c81548d6c6cd1bb611d1561c53d25
      https://github.com/llvm/llvm-project/commit/397d99d37a4c81548d6c6cd1bb611d1561c53d25
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2026-05-05 (Tue, 05 May 2026)

  Changed paths:
    M flang/lib/Optimizer/Transforms/CUDA/CUFAddConstructor.cpp
    M flang/test/Fir/CUDA/cuda-constructor-2.f90

  Log Message:
  -----------
  [flang][cuda] Fix unregistered allocator (#195924)

#194290 changed how we register the constructor and made an early return
which then miss to add the constructor to `llvm.mlir.global_ctors` which
leads to runtime failure because the allocators for CUDA Fortran are not
registered.



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