[all-commits] [llvm/llvm-project] 569ad2: [flang] Emit `fir.global` in the global address space

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Wed Jul 2 01:44:36 PDT 2025


  Branch: refs/heads/users/ergawy/global_addr_space
  Home:   https://github.com/llvm/llvm-project
  Commit: 569ad27f5ec86d5ef392ebb5f3b4a0dcaabf78b4
      https://github.com/llvm/llvm-project/commit/569ad27f5ec86d5ef392ebb5f3b4a0dcaabf78b4
  Author: ergawy <kareem.ergawy at amd.com>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/FIRBuilder.h
    M flang/include/flang/Optimizer/CodeGen/FIROpPatterns.h
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/lib/Optimizer/CodeGen/FIROpPatterns.cpp
    A flang/test/Integration/amdgpu-target-desc-cast-to-global-addrspace.f90

  Log Message:
  -----------
  [flang] Emit `fir.global` in the global address space

Instead of emitting globals in the program/default address space, emit
them in the global address space. This also requires changes how address
of code-gen is handled, we need to cast to the default address space to
prevent code-gen issues.



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