[all-commits] [llvm/llvm-project] ed2db3: [flang][cuda] Do not register global constants (#1...

Renaud Kauffmann via All-commits all-commits at lists.llvm.org
Wed Dec 4 09:37:30 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed2db3be619ddc0f459ab5ea4ad6ee36e006b759
      https://github.com/llvm/llvm-project/commit/ed2db3be619ddc0f459ab5ea4ad6ee36e006b759
  Author: Renaud Kauffmann <rkauffmann at nvidia.com>
  Date:   2024-12-04 (Wed, 04 Dec 2024)

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

  Log Message:
  -----------
  [flang][cuda] Do not register global constants (#118582)

Global constants have no symbols in library files. They are replaced
with literal constants during lowering before kernels are moved into a
GPU module. Do not register them because they will result in unresolved
symbols.



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