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

Akash Banerjee via All-commits all-commits at lists.llvm.org
Fri Feb 7 10:07:34 PST 2025


  Branch: refs/heads/users/akash/mapper_llvm_lower
  Home:   https://github.com/llvm/llvm-project
  Commit: d80da54e1edee017f97aebf5f2e17895ddbf6413
      https://github.com/llvm/llvm-project/commit/d80da54e1edee017f97aebf5f2e17895ddbf6413
  Author: Akash Banerjee <Akash.Banerjee at amd.com>
  Date:   2025-02-07 (Fri, 07 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: 2791fa2cc8bb59139461601f9c5ac7d1da99e7cb
      https://github.com/llvm/llvm-project/commit/2791fa2cc8bb59139461601f9c5ac7d1da99e7cb
  Author: Akash Banerjee <Akash.Banerjee at amd.com>
  Date:   2025-02-07 (Fri, 07 Feb 2025)

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

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


  Commit: 0690ed6f6ed28ff48792d31b2bc4d44d3017ec9d
      https://github.com/llvm/llvm-project/commit/0690ed6f6ed28ff48792d31b2bc4d44d3017ec9d
  Author: Akash Banerjee <Akash.Banerjee at amd.com>
  Date:   2025-02-07 (Fri, 07 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: 6d74d0f2c8afabc814a23c05a028ffb29b376eb9
      https://github.com/llvm/llvm-project/commit/6d74d0f2c8afabc814a23c05a028ffb29b376eb9
  Author: Akash Banerjee <Akash.Banerjee at amd.com>
  Date:   2025-02-07 (Fri, 07 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.


Compare: https://github.com/llvm/llvm-project/compare/982315c4012b...6d74d0f2c8af

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