[all-commits] [llvm/llvm-project] 784c7f: [MLIR][OpenMP] Add LLVM translation support for Op...

Akash Banerjee via All-commits all-commits at lists.llvm.org
Tue Feb 18 08:35:54 PST 2025


  Branch: refs/heads/users/akash/mapper_llvm_lower
  Home:   https://github.com/llvm/llvm-project
  Commit: 784c7fb6fb6c8dbbda2838fd2e5dee7b86129b5a
      https://github.com/llvm/llvm-project/commit/784c7fb6fb6c8dbbda2838fd2e5dee7b86129b5a
  Author: Akash Banerjee <Akash.Banerjee at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Target/LLVMIR/omptarget-llvm.mlir
    A offload/test/offloading/fortran/target-custom-mapper.f90

  Log Message:
  -----------
  [MLIR][OpenMP] Add LLVM translation support for OpenMP UserDefinedMappers

This patch adds OpenMPToLLVMIRTranslation support for the OpenMP Declare Mapper directive.

Since both MLIR and Clang now support custom mappers, I've made the relative params required instead of optional as well.

Depends on #121005


  Commit: f7b22d46e87db75380614aae75180ce7c763c2fe
      https://github.com/llvm/llvm-project/commit/f7b22d46e87db75380614aae75180ce7c763c2fe
  Author: Akash Banerjee <Akash.Banerjee at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

  Log Message:
  -----------
  Fix IRBuilderTest failure.


  Commit: 9f44733edd15ed514f9eb5bfe675f37538bcd83e
      https://github.com/llvm/llvm-project/commit/9f44733edd15ed514f9eb5bfe675f37538bcd83e
  Author: Akash Banerjee <Akash.Banerjee at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M offload/test/offloading/fortran/target-custom-mapper.f90

  Log Message:
  -----------
  Address reviewer comments.


  Commit: 05cf4e51ceae243ce1a40707eca97a94008185fe
      https://github.com/llvm/llvm-project/commit/05cf4e51ceae243ce1a40707eca97a94008185fe
  Author: Akash Banerjee <Akash.Banerjee at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Target/LLVMIR/omptarget-llvm.mlir

  Log Message:
  -----------
  Address reviewer comments.


  Commit: 3085c656db9b4c7ae75db275d8d32ec2e2888cbf
      https://github.com/llvm/llvm-project/commit/3085c656db9b4c7ae75db275d8d32ec2e2888cbf
  Author: Akash Banerjee <Akash.Banerjee at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

  Log Message:
  -----------
  Address reviewer comments.


  Commit: 0053d96efe4dcae09f610a2cc9ce32f2cbaf7d2f
      https://github.com/llvm/llvm-project/commit/0053d96efe4dcae09f610a2cc9ce32f2cbaf7d2f
  Author: Akash Banerjee <Akash.Banerjee at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M offload/test/offloading/fortran/target-custom-mapper.f90

  Log Message:
  -----------
  Added customMapper error propagation. Updated test.


  Commit: 41d69f5e2b96709237bb77c52098d4c20b091631
      https://github.com/llvm/llvm-project/commit/41d69f5e2b96709237bb77c52098d4c20b091631
  Author: Akash Banerjee <Akash.Banerjee at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

  Log Message:
  -----------
  Add call to moduleTranslation.mapFunction.


  Commit: 273030313148386dd72961c9d89fb3aa6f471dae
      https://github.com/llvm/llvm-project/commit/273030313148386dd72961c9d89fb3aa6f471dae
  Author: Akash Banerjee <Akash.Banerjee at amd.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

  Log Message:
  -----------
  Address reviewer comments.


Compare: https://github.com/llvm/llvm-project/compare/4f2fa9e2e49d...273030313148

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