[all-commits] [llvm/llvm-project] 6b1c51: [OpenMP] Migrate GPU Reductions CodeGen from Clang...

Akash Banerjee via All-commits all-commits at lists.llvm.org
Wed Jun 26 12:19:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b1c51bc052ae974e89e623b3d143d010fd09222
      https://github.com/llvm/llvm-project/commit/6b1c51bc052ae974e89e623b3d143d010fd09222
  Author: Akash Banerjee <akash.banerjee at amd.com>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
    M clang/lib/CodeGen/CGOpenMPRuntimeGPU.h
    M clang/test/OpenMP/nvptx_target_parallel_reduction_codegen.cpp
    M clang/test/OpenMP/nvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp
    M clang/test/OpenMP/nvptx_teams_reduction_codegen.cpp
    A clang/test/OpenMP/reduction_complex.c
    M clang/test/OpenMP/reduction_implicit_map.cpp
    M clang/test/OpenMP/target_teams_generic_loop_codegen.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

  Log Message:
  -----------
  [OpenMP] Migrate GPU Reductions CodeGen from Clang to OMPIRBuilder (#80343)

This patch migrates the CGOpenMPRuntimeGPU::emitReduction and related functions to the OpenMPIRBUilder. In future patches MLIR OpenMP translation would be making use of these functions.

Co-authored-by: Jan Leyonberg <jan.leyonberg at amd.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