[all-commits] [llvm/llvm-project] eb61bd: [OpenMP][CodeGen] Add codegen for combined 'loop' ...
David Pagan via All-commits
all-commits at lists.llvm.org
Wed Jul 5 10:32:46 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: eb61bde829bcd33346bc70c87fcfe321627bbc31
https://github.com/llvm/llvm-project/commit/eb61bde829bcd33346bc70c87fcfe321627bbc31
Author: Dave Pagan <dave.pagan at amd.com>
Date: 2023-07-05 (Wed, 05 Jul 2023)
Changed paths:
M clang/lib/AST/StmtOpenMP.cpp
M clang/lib/Basic/OpenMPKinds.cpp
M clang/lib/CodeGen/CGOpenMPRuntime.cpp
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/Sema/SemaOpenMP.cpp
A clang/test/OpenMP/generic_loop_codegen.cpp
A clang/test/OpenMP/nvptx_target_teams_generic_loop_codegen.cpp
A clang/test/OpenMP/nvptx_target_teams_generic_loop_generic_mode_codegen.cpp
A clang/test/OpenMP/parallel_generic_loop_codegen.cpp
A clang/test/OpenMP/target_parallel_generic_loop_codegen-1.cpp
A clang/test/OpenMP/target_parallel_generic_loop_codegen-2.cpp
A clang/test/OpenMP/target_parallel_generic_loop_codegen-3.cpp
A clang/test/OpenMP/target_parallel_generic_loop_codegen.cpp
A clang/test/OpenMP/target_parallel_generic_loop_depend_codegen.cpp
A clang/test/OpenMP/target_parallel_generic_loop_uses_allocators_codegen.cpp
A clang/test/OpenMP/target_teams_generic_loop_codegen-1.cpp
A clang/test/OpenMP/target_teams_generic_loop_codegen.cpp
A clang/test/OpenMP/target_teams_generic_loop_collapse_codegen.cpp
A clang/test/OpenMP/target_teams_generic_loop_depend_codegen.cpp
A clang/test/OpenMP/target_teams_generic_loop_if_codegen.cpp
A clang/test/OpenMP/target_teams_generic_loop_order_codegen.cpp
A clang/test/OpenMP/target_teams_generic_loop_private_codegen.cpp
A clang/test/OpenMP/target_teams_generic_loop_reduction_codegen.cpp
A clang/test/OpenMP/target_teams_generic_loop_uses_allocators_codegen.cpp
A clang/test/OpenMP/teams_generic_loop_codegen-1.cpp
A clang/test/OpenMP/teams_generic_loop_codegen.cpp
A clang/test/OpenMP/teams_generic_loop_collapse_codgen.cpp
A clang/test/OpenMP/teams_generic_loop_private_codegen.cpp
A clang/test/OpenMP/teams_generic_loop_reduction_codegen.cpp
Log Message:
-----------
[OpenMP][CodeGen] Add codegen for combined 'loop' directives.
The loop directive is a descriptive construct which allows the compiler
flexibility in how it generates code for the directive's associated
loop(s). See OpenMP specification 5.2 [257:8-9].
Codegen added in this patch for the combined 'loop' directives are:
'target teams loop' -> 'target teams distribute parallel for'
'teams loop' -> 'teams distribute parallel for'
'target parallel loop' -> 'target parallel for'
'parallel loop' -> 'parallel for'
NOTE: The implementation of the 'loop' directive itself is unchanged.
Differential Revision: https://reviews.llvm.org/D145823
More information about the All-commits
mailing list