[all-commits] [llvm/llvm-project] b8c780: [Flang][OpenMP] Fix use_device_addr descriptor typ...

Akash Banerjee via All-commits all-commits at lists.llvm.org
Mon Sep 14 06:06:45 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8c7806bd5e3a40ce3fabd8743d73d77e7a417ab
      https://github.com/llvm/llvm-project/commit/b8c7806bd5e3a40ce3fabd8743d73d77e7a417ab
  Author: Akash Banerjee <akash.banerjee at amd.com>
  Date:   2026-09-14 (Mon, 14 Sep 2026)

  Changed paths:
    M flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp
    A flang/test/Lower/OpenMP/target-data-use-device-addr-descriptor.f90

  Log Message:
  -----------
  [Flang][OpenMP] Fix use_device_addr descriptor types (#222961)

Fix invalid FIR for assumed-shape arrays in use_device_addr by using
matching descriptor-reference types and loading the descriptor inside
the region. Added tests.

Co-authored-by: Codex <codex at openai.com>



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