[all-commits] [llvm/llvm-project] cdbbac: [OpenMP][MLIR] Extend record member map support fo...

agozillon via All-commits all-commits at lists.llvm.org
Fri May 10 11:07:44 PDT 2024


  Branch: refs/heads/users/agozillon/main.openmpmlir-extend-record-member-map-support-for-omp-dialect-to-llvm-ir
  Home:   https://github.com/llvm/llvm-project
  Commit: cdbbac665bac59a46d78b12e931b37567a14f99d
      https://github.com/llvm/llvm-project/commit/cdbbac665bac59a46d78b12e931b37567a14f99d
  Author: agozillon <Andrew.Gozillon at amd.com>
  Date:   2024-05-10 (Fri, 10 May 2024)

  Changed paths:
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Target/LLVMIR/omptarget-fortran-allocatable-types-host.mlir
    M mlir/test/Target/LLVMIR/omptarget-llvm.mlir
    A mlir/test/Target/LLVMIR/omptarget-nested-record-type-mapping-host.mlir
    A mlir/test/Target/LLVMIR/omptarget-record-type-mapping-host.mlir

  Log Message:
  -----------
  [OpenMP][MLIR] Extend record member map support for omp dialect to LLVM-IR (#82852)

This patch seeks to extend the current record type map support that was
put in
place for Fortran's descriptor types to handle explicit member mapping
for
record types.

This patch seeks to support this by extending the
OpenMPToLLVMIRTranslation phase
to more generally support record types, building on the prior groundwork
in the
Fortran allocatables/pointers patch. It now supports different kinds of
record type
mapping, in this case full record type mapping and then explicit member
mapping
in which there is a special case for certain types when mapped
individually to not
require any parent map link in the kernel argument structure.



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