[all-commits] [llvm/llvm-project] 0c6f2f: [OpenMP] Update the default version of OpenMP to 5.1
Animesh Kumar via All-commits
all-commits at lists.llvm.org
Thu Jun 15 00:25:33 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0c6f2f629cc0017361310fa4c132090413a874db
https://github.com/llvm/llvm-project/commit/0c6f2f629cc0017361310fa4c132090413a874db
Author: Animesh Kumar <animesh.kumar at amd.com>
Date: 2023-06-15 (Thu, 15 Jun 2023)
Changed paths:
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Frontend/InitPreprocessor.cpp
M clang/test/AST/ast-dump-openmp-task.c
M clang/test/Analysis/cfg-openmp.cpp
M clang/test/Index/openmp-tile.c
M clang/test/OpenMP/align_clause_ast_print.cpp
M clang/test/OpenMP/align_clause_codegen.cpp
M clang/test/OpenMP/align_clause_global_codegen.cpp
M clang/test/OpenMP/align_clause_messages.cpp
M clang/test/OpenMP/allocate_codegen_attr.cpp
M clang/test/OpenMP/assumes_messages_attr.c
M clang/test/OpenMP/atomic_ast_print.cpp
M clang/test/OpenMP/atomic_capture_codegen.cpp
M clang/test/OpenMP/atomic_compare_codegen.cpp
M clang/test/OpenMP/atomic_messages.c
M clang/test/OpenMP/atomic_messages.cpp
M clang/test/OpenMP/begin_declare_variant_messages.c
M clang/test/OpenMP/critical_codegen_attr.cpp
M clang/test/OpenMP/declare_mapper_ast_print.c
M clang/test/OpenMP/declare_mapper_codegen.cpp
M clang/test/OpenMP/declare_mapper_messages.c
M clang/test/OpenMP/declare_mapper_messages.cpp
M clang/test/OpenMP/declare_target_ast_print.cpp
M clang/test/OpenMP/declare_target_messages.cpp
M clang/test/OpenMP/declare_variant_clauses_ast_print.c
M clang/test/OpenMP/declare_variant_clauses_ast_print.cpp
M clang/test/OpenMP/declare_variant_clauses_messages.cpp
M clang/test/OpenMP/declare_variant_construct_codegen_1.c
M clang/test/OpenMP/declare_variant_messages.c
M clang/test/OpenMP/declare_variant_messages.cpp
M clang/test/OpenMP/default_firstprivate_ast_print.cpp
M clang/test/OpenMP/default_private_ast_print.cpp
M clang/test/OpenMP/depobj_messages.cpp
M clang/test/OpenMP/dispatch_ast_print.cpp
M clang/test/OpenMP/distribute_parallel_for_default_messages.cpp
M clang/test/OpenMP/distribute_parallel_for_messages.cpp
M clang/test/OpenMP/distribute_parallel_for_proc_bind_messages.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_default_messages.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_misc_messages.c
M clang/test/OpenMP/distribute_parallel_for_simd_proc_bind_messages.cpp
M clang/test/OpenMP/distribute_simd_misc_messages.c
M clang/test/OpenMP/driver.c
M clang/test/OpenMP/flush_ast_print.cpp
M clang/test/OpenMP/flush_messages.cpp
M clang/test/OpenMP/for_codegen.cpp
M clang/test/OpenMP/for_misc_messages.c
M clang/test/OpenMP/for_order_messages.cpp
M clang/test/OpenMP/for_simd_misc_messages.c
M clang/test/OpenMP/generic_loop_ast_print.cpp
M clang/test/OpenMP/generic_loop_messages.cpp
M clang/test/OpenMP/interop_ast_print.cpp
M clang/test/OpenMP/irbuilder_for_iterator.cpp
M clang/test/OpenMP/irbuilder_for_rangefor.cpp
M clang/test/OpenMP/irbuilder_unroll_full.c
M clang/test/OpenMP/irbuilder_unroll_heuristic.c
M clang/test/OpenMP/irbuilder_unroll_partial_factor.c
M clang/test/OpenMP/irbuilder_unroll_partial_factor_for.c
M clang/test/OpenMP/irbuilder_unroll_partial_factor_for_collapse.c
M clang/test/OpenMP/irbuilder_unroll_partial_heuristic.c
M clang/test/OpenMP/irbuilder_unroll_partial_heuristic_constant_for.c
M clang/test/OpenMP/irbuilder_unroll_partial_heuristic_for_collapse.c
M clang/test/OpenMP/irbuilder_unroll_partial_heuristic_runtime_for.c
M clang/test/OpenMP/irbuilder_unroll_unroll_partial_factor.c
M clang/test/OpenMP/irbuilder_unroll_unroll_partial_heuristic.c
M clang/test/OpenMP/masked_ast_print.cpp
M clang/test/OpenMP/masked_codegen.cpp
M clang/test/OpenMP/masked_messages_attr.cpp
M clang/test/OpenMP/masked_taskloop_simd_ast_print.cpp
M clang/test/OpenMP/master_taskloop_simd_ast_print.cpp
M clang/test/OpenMP/openmp_attribute.cpp
M clang/test/OpenMP/openmp_attribute_compat.cpp
M clang/test/OpenMP/openmp_attribute_parsing.cpp
M clang/test/OpenMP/parallel_ast_print.cpp
M clang/test/OpenMP/parallel_default_messages.cpp
M clang/test/OpenMP/parallel_for_default_messages.cpp
M clang/test/OpenMP/parallel_for_messages.cpp
M clang/test/OpenMP/parallel_for_proc_bind_messages.cpp
M clang/test/OpenMP/parallel_for_simd_default_messages.cpp
M clang/test/OpenMP/parallel_for_simd_misc_messages.c
M clang/test/OpenMP/parallel_for_simd_proc_bind_messages.cpp
M clang/test/OpenMP/parallel_generic_loop_ast_print.cpp
M clang/test/OpenMP/parallel_generic_loop_messages.cpp
M clang/test/OpenMP/parallel_masked_default_messages.cpp
M clang/test/OpenMP/parallel_masked_proc_bind_messages.cpp
M clang/test/OpenMP/parallel_masked_taskloop_simd_ast_print.cpp
M clang/test/OpenMP/parallel_masked_taskloop_simd_lastprivate_messages.cpp
M clang/test/OpenMP/parallel_masked_taskloop_simd_loop_messages.cpp
M clang/test/OpenMP/parallel_masked_taskloop_simd_reduction_messages.cpp
M clang/test/OpenMP/parallel_master_codegen.cpp
M clang/test/OpenMP/parallel_master_default_messages.cpp
M clang/test/OpenMP/parallel_master_proc_bind_messages.cpp
M clang/test/OpenMP/parallel_master_taskloop_simd_ast_print.cpp
M clang/test/OpenMP/parallel_master_taskloop_simd_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_messages.cpp
M clang/test/OpenMP/parallel_master_taskloop_simd_loop_messages.cpp
M clang/test/OpenMP/parallel_master_taskloop_simd_misc_messages.c
M clang/test/OpenMP/parallel_master_taskloop_simd_reduction_messages.cpp
M clang/test/OpenMP/parallel_proc_bind_messages.cpp
M clang/test/OpenMP/parallel_proc_bind_primary_codegen.cpp
M clang/test/OpenMP/parallel_reduction_codegen.cpp
M clang/test/OpenMP/parallel_reduction_messages.c
M clang/test/OpenMP/parallel_reduction_messages.cpp
M clang/test/OpenMP/parallel_reduction_task_codegen.cpp
M clang/test/OpenMP/parallel_sections_ast_print.cpp
M clang/test/OpenMP/parallel_sections_default_messages.cpp
M clang/test/OpenMP/parallel_sections_lastprivate_messages.cpp
M clang/test/OpenMP/parallel_sections_proc_bind_messages.cpp
M clang/test/OpenMP/parallel_sections_reduction_messages.cpp
M clang/test/OpenMP/parallel_sections_reduction_task_codegen.cpp
M clang/test/OpenMP/predefined_macro.c
M clang/test/OpenMP/recovery-crash.cpp
M clang/test/OpenMP/requires_acq_rel_codegen.cpp
M clang/test/OpenMP/requires_relaxed_codegen.cpp
M clang/test/OpenMP/requires_seq_cst_codegen.cpp
M clang/test/OpenMP/scan_ast_print.cpp
M clang/test/OpenMP/scan_codegen.cpp
M clang/test/OpenMP/scan_messages.cpp
M clang/test/OpenMP/schedule_codegen.cpp
M clang/test/OpenMP/sections_ast_print.cpp
M clang/test/OpenMP/sections_lastprivate_codegen.cpp
M clang/test/OpenMP/sections_lastprivate_messages.cpp
M clang/test/OpenMP/sections_reduction_messages.cpp
M clang/test/OpenMP/sections_reduction_task_codegen.cpp
M clang/test/OpenMP/simd_ast_print.cpp
M clang/test/OpenMP/simd_codegen.cpp
M clang/test/OpenMP/simd_if_messages.cpp
M clang/test/OpenMP/simd_lastprivate_messages.cpp
M clang/test/OpenMP/simd_loop_messages.cpp
M clang/test/OpenMP/simd_reduction_messages.cpp
M clang/test/OpenMP/single_codegen.cpp
M clang/test/OpenMP/target_ast_print.cpp
M clang/test/OpenMP/target_data_ast_print.cpp
M clang/test/OpenMP/target_data_codegen.cpp
M clang/test/OpenMP/target_data_device_messages.cpp
M clang/test/OpenMP/target_data_messages.c
M clang/test/OpenMP/target_data_use_device_addr_codegen.cpp
M clang/test/OpenMP/target_data_use_device_ptr_addr_ast_print.cpp
M clang/test/OpenMP/target_data_use_device_ptr_addr_messages.cpp
M clang/test/OpenMP/target_defaultmap_codegen_01.cpp
M clang/test/OpenMP/target_defaultmap_codegen_02.cpp
M clang/test/OpenMP/target_defaultmap_messages.cpp
M clang/test/OpenMP/target_depend_messages.cpp
M clang/test/OpenMP/target_device_codegen.cpp
M clang/test/OpenMP/target_device_messages.cpp
M clang/test/OpenMP/target_enter_data_codegen.cpp
M clang/test/OpenMP/target_enter_data_depend_messages.cpp
M clang/test/OpenMP/target_enter_data_device_messages.cpp
M clang/test/OpenMP/target_exit_data_depend_messages.cpp
M clang/test/OpenMP/target_exit_data_device_messages.cpp
M clang/test/OpenMP/target_firstprivate_messages.cpp
M clang/test/OpenMP/target_has_device_addr_ast_print.cpp
M clang/test/OpenMP/target_has_device_addr_messages.cpp
M clang/test/OpenMP/target_map_codegen_00.cpp
M clang/test/OpenMP/target_map_codegen_18b.cpp
M clang/test/OpenMP/target_map_codegen_18d.cpp
M clang/test/OpenMP/target_map_codegen_31.cpp
M clang/test/OpenMP/target_map_codegen_32.cpp
M clang/test/OpenMP/target_map_codegen_33.cpp
M clang/test/OpenMP/target_map_codegen_34.cpp
M clang/test/OpenMP/target_map_codegen_35.cpp
M clang/test/OpenMP/target_map_messages.cpp
M clang/test/OpenMP/target_map_names_attr.cpp
M clang/test/OpenMP/target_messages.cpp
M clang/test/OpenMP/target_parallel_ast_print.cpp
M clang/test/OpenMP/target_parallel_default_messages.cpp
M clang/test/OpenMP/target_parallel_defaultmap_messages.cpp
M clang/test/OpenMP/target_parallel_depend_messages.cpp
M clang/test/OpenMP/target_parallel_for_ast_print.cpp
M clang/test/OpenMP/target_parallel_for_default_messages.cpp
M clang/test/OpenMP/target_parallel_for_defaultmap_messages.cpp
M clang/test/OpenMP/target_parallel_for_depend_messages.cpp
M clang/test/OpenMP/target_parallel_for_lastprivate_messages.cpp
M clang/test/OpenMP/target_parallel_for_linear_messages.cpp
M clang/test/OpenMP/target_parallel_for_loop_messages.cpp
M clang/test/OpenMP/target_parallel_for_map_messages.cpp
M clang/test/OpenMP/target_parallel_for_messages.cpp
M clang/test/OpenMP/target_parallel_for_private_messages.cpp
M clang/test/OpenMP/target_parallel_for_proc_bind_messages.cpp
M clang/test/OpenMP/target_parallel_for_reduction_messages.cpp
M clang/test/OpenMP/target_parallel_for_reduction_task_codegen.cpp
M clang/test/OpenMP/target_parallel_for_simd_ast_print.cpp
M clang/test/OpenMP/target_parallel_for_simd_codegen.cpp
M clang/test/OpenMP/target_parallel_for_simd_default_messages.cpp
M clang/test/OpenMP/target_parallel_for_simd_defaultmap_messages.cpp
M clang/test/OpenMP/target_parallel_for_simd_depend_messages.cpp
M clang/test/OpenMP/target_parallel_for_simd_if_messages.cpp
M clang/test/OpenMP/target_parallel_for_simd_is_device_ptr_messages.cpp
M clang/test/OpenMP/target_parallel_for_simd_lastprivate_messages.cpp
M clang/test/OpenMP/target_parallel_for_simd_loop_messages.cpp
M clang/test/OpenMP/target_parallel_for_simd_map_messages.cpp
M clang/test/OpenMP/target_parallel_for_simd_misc_messages.c
M clang/test/OpenMP/target_parallel_for_simd_private_messages.cpp
M clang/test/OpenMP/target_parallel_for_simd_proc_bind_messages.cpp
M clang/test/OpenMP/target_parallel_for_simd_reduction_messages.cpp
M clang/test/OpenMP/target_parallel_for_simd_uses_allocators_codegen.cpp
M clang/test/OpenMP/target_parallel_for_uses_allocators_codegen.cpp
M clang/test/OpenMP/target_parallel_generic_loop_ast_print.cpp
M clang/test/OpenMP/target_parallel_generic_loop_messages.cpp
M clang/test/OpenMP/target_parallel_map_messages.cpp
M clang/test/OpenMP/target_parallel_private_messages.cpp
M clang/test/OpenMP/target_parallel_proc_bind_messages.cpp
M clang/test/OpenMP/target_parallel_reduction_messages.cpp
M clang/test/OpenMP/target_parallel_reduction_task_codegen.cpp
M clang/test/OpenMP/target_parallel_uses_allocators_codegen.cpp
M clang/test/OpenMP/target_reduction_messages.cpp
M clang/test/OpenMP/target_simd_codegen.cpp
M clang/test/OpenMP/target_simd_defaultmap_messages.cpp
M clang/test/OpenMP/target_simd_depend_messages.cpp
M clang/test/OpenMP/target_simd_firstprivate_messages.cpp
M clang/test/OpenMP/target_simd_if_messages.cpp
M clang/test/OpenMP/target_simd_lastprivate_messages.cpp
M clang/test/OpenMP/target_simd_loop_messages.cpp
M clang/test/OpenMP/target_simd_map_messages.cpp
M clang/test/OpenMP/target_simd_misc_messages.c
M clang/test/OpenMP/target_simd_private_messages.cpp
M clang/test/OpenMP/target_simd_reduction_messages.cpp
M clang/test/OpenMP/target_simd_uses_allocators_codegen.cpp
M clang/test/OpenMP/target_teams_ast_print.cpp
M clang/test/OpenMP/target_teams_default_messages.cpp
M clang/test/OpenMP/target_teams_defaultmap_messages.cpp
M clang/test/OpenMP/target_teams_depend_messages.cpp
M clang/test/OpenMP/target_teams_distribute_ast_print.cpp
M clang/test/OpenMP/target_teams_distribute_default_messages.cpp
M clang/test/OpenMP/target_teams_distribute_defaultmap_messages.cpp
M clang/test/OpenMP/target_teams_distribute_depend_messages.cpp
M clang/test/OpenMP/target_teams_distribute_lastprivate_messages.cpp
M clang/test/OpenMP/target_teams_distribute_loop_messages.cpp
M clang/test/OpenMP/target_teams_distribute_map_messages.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_ast_print.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_default_messages.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_defaultmap_messages.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_depend_messages.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_messages.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_lastprivate_messages.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_loop_messages.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_map_messages.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_messages.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_private_messages.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_proc_bind_messages.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_reduction_messages.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_reduction_task_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_ast_print.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_default_messages.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_defaultmap_messages.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_depend_messages.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_messages.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_if_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_if_messages.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_lastprivate_messages.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_loop_messages.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_map_messages.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_misc_messages.c
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_messages.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_proc_bind_messages.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_reduction_messages.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_uses_allocators_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_uses_allocators_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_private_messages.cpp
M clang/test/OpenMP/target_teams_distribute_reduction_messages.cpp
M clang/test/OpenMP/target_teams_distribute_simd_ast_print.cpp
M clang/test/OpenMP/target_teams_distribute_simd_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_simd_defaultmap_messages.cpp
M clang/test/OpenMP/target_teams_distribute_simd_depend_messages.cpp
M clang/test/OpenMP/target_teams_distribute_simd_firstprivate_messages.cpp
M clang/test/OpenMP/target_teams_distribute_simd_if_messages.cpp
M clang/test/OpenMP/target_teams_distribute_simd_is_device_ptr_messages.cpp
M clang/test/OpenMP/target_teams_distribute_simd_lastprivate_messages.cpp
M clang/test/OpenMP/target_teams_distribute_simd_loop_messages.cpp
M clang/test/OpenMP/target_teams_distribute_simd_map_messages.cpp
M clang/test/OpenMP/target_teams_distribute_simd_misc_messages.c
M clang/test/OpenMP/target_teams_distribute_simd_private_messages.cpp
M clang/test/OpenMP/target_teams_distribute_simd_reduction_messages.cpp
M clang/test/OpenMP/target_teams_distribute_simd_uses_allocators_codegen.cpp
M clang/test/OpenMP/target_teams_distribute_uses_allocators_codegen.cpp
M clang/test/OpenMP/target_teams_firstprivate_messages.cpp
M clang/test/OpenMP/target_teams_generic_loop_ast_print.cpp
M clang/test/OpenMP/target_teams_generic_loop_messages.cpp
M clang/test/OpenMP/target_teams_is_device_ptr_messages.cpp
M clang/test/OpenMP/target_teams_map_codegen.cpp
M clang/test/OpenMP/target_teams_map_messages.cpp
M clang/test/OpenMP/target_teams_private_messages.cpp
M clang/test/OpenMP/target_teams_reduction_messages.cpp
M clang/test/OpenMP/target_teams_uses_allocators_codegen.cpp
M clang/test/OpenMP/target_update_ast_print.cpp
M clang/test/OpenMP/target_update_codegen.cpp
M clang/test/OpenMP/target_update_depend_messages.cpp
M clang/test/OpenMP/target_update_device_messages.cpp
M clang/test/OpenMP/target_update_from_messages.cpp
M clang/test/OpenMP/target_update_messages.cpp
M clang/test/OpenMP/target_update_to_messages.cpp
M clang/test/OpenMP/target_uses_allocators_codegen.cpp
M clang/test/OpenMP/target_uses_allocators_messages.cpp
M clang/test/OpenMP/task_affinity_codegen.cpp
M clang/test/OpenMP/task_affinity_messages.cpp
M clang/test/OpenMP/task_ast_print.cpp
M clang/test/OpenMP/task_codegen.cpp
M clang/test/OpenMP/task_default_messages.cpp
M clang/test/OpenMP/task_depend_messages.cpp
M clang/test/OpenMP/task_depend_template_call_ast_print.cpp
M clang/test/OpenMP/task_messages.cpp
M clang/test/OpenMP/task_target_device_codegen.c
M clang/test/OpenMP/taskloop_ast_print.cpp
M clang/test/OpenMP/taskloop_codegen.cpp
M clang/test/OpenMP/taskloop_lastprivate_messages.cpp
M clang/test/OpenMP/taskloop_loop_messages.cpp
M clang/test/OpenMP/taskloop_reduction_messages.cpp
M clang/test/OpenMP/taskloop_reduction_messages_attr.cpp
M clang/test/OpenMP/taskloop_simd_ast_print.cpp
M clang/test/OpenMP/taskloop_simd_codegen.cpp
M clang/test/OpenMP/taskloop_simd_lastprivate_messages.cpp
M clang/test/OpenMP/taskloop_simd_loop_messages.cpp
M clang/test/OpenMP/taskloop_simd_misc_messages.c
M clang/test/OpenMP/taskloop_simd_reduction_messages.cpp
M clang/test/OpenMP/taskloop_with_atomic_codegen.cpp
M clang/test/OpenMP/taskwait_ast_print.cpp
M clang/test/OpenMP/taskwait_depend_messages.cpp
M clang/test/OpenMP/teams_ast_print.cpp
M clang/test/OpenMP/teams_codegen.cpp
M clang/test/OpenMP/teams_default_messages.cpp
M clang/test/OpenMP/teams_distribute_default_messages.cpp
M clang/test/OpenMP/teams_distribute_lastprivate_messages.cpp
M clang/test/OpenMP/teams_distribute_loop_messages.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_ast_print.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_default_messages.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_lastprivate_messages.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_loop_messages.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_messages.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_proc_bind_messages.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_reduction_messages.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_reduction_task_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_ast_print.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_default_messages.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_firstprivate_messages.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_if_codegen.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_if_messages.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_lastprivate_messages.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_loop_messages.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_messages.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_num_teams_messages_attr.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_proc_bind_messages.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_reduction_messages.cpp
M clang/test/OpenMP/teams_distribute_reduction_messages.cpp
M clang/test/OpenMP/teams_distribute_simd_ast_print.cpp
M clang/test/OpenMP/teams_distribute_simd_codegen.cpp
M clang/test/OpenMP/teams_distribute_simd_default_messages.cpp
M clang/test/OpenMP/teams_distribute_simd_firstprivate_messages.cpp
M clang/test/OpenMP/teams_distribute_simd_if_messages.cpp
M clang/test/OpenMP/teams_distribute_simd_lastprivate_messages.cpp
M clang/test/OpenMP/teams_distribute_simd_loop_messages.cpp
M clang/test/OpenMP/teams_distribute_simd_messages.cpp
M clang/test/OpenMP/teams_distribute_simd_reduction_messages.cpp
M clang/test/OpenMP/teams_generic_loop_ast_print.cpp
M clang/test/OpenMP/teams_generic_loop_messages.cpp
M clang/test/OpenMP/teams_messages.cpp
M clang/test/OpenMP/teams_reduction_messages.cpp
M clang/test/OpenMP/tile_ast_print.cpp
M clang/test/OpenMP/tile_codegen.cpp
M clang/test/OpenMP/tile_codegen_for_dependent.cpp
M clang/test/OpenMP/tile_codegen_tile_for.cpp
M clang/test/OpenMP/tile_messages.cpp
M clang/test/OpenMP/unroll_ast_print.cpp
M clang/test/OpenMP/unroll_codegen_factor.cpp
M clang/test/OpenMP/unroll_codegen_for_collapse_outer.cpp
M clang/test/OpenMP/unroll_codegen_for_partial.cpp
M clang/test/OpenMP/unroll_codegen_full.cpp
M clang/test/OpenMP/unroll_codegen_heuristic.cpp
M clang/test/OpenMP/unroll_codegen_parallel_for_factor.cpp
M clang/test/OpenMP/unroll_codegen_partial.cpp
M clang/test/OpenMP/unroll_codegen_tile_for.cpp
M clang/test/OpenMP/unroll_codegen_unroll_for.cpp
M clang/test/OpenMP/unroll_codegen_unroll_for_attr.cpp
M clang/test/OpenMP/unroll_messages.cpp
M clang/test/SemaCUDA/openmp-target.cu
M openmp/libomptarget/test/mapping/array_section_implicit_capture.c
M openmp/libomptarget/test/mapping/array_section_use_device_ptr.c
M openmp/libomptarget/test/mapping/present/target.c
M openmp/libomptarget/test/mapping/present/target_array_extension.c
M openmp/libomptarget/test/mapping/present/target_data.c
M openmp/libomptarget/test/mapping/present/target_data_array_extension.c
M openmp/libomptarget/test/mapping/present/target_data_at_exit.c
M openmp/libomptarget/test/mapping/present/target_enter_data.c
M openmp/libomptarget/test/mapping/present/target_exit_data_delete.c
M openmp/libomptarget/test/mapping/present/target_exit_data_release.c
M openmp/libomptarget/test/mapping/present/target_update.c
M openmp/libomptarget/test/mapping/present/target_update_array_extension.c
M openmp/libomptarget/test/mapping/present/unified_shared_memory.c
M openmp/libomptarget/test/mapping/present/zero_length_array_section.c
M openmp/libomptarget/test/mapping/present/zero_length_array_section_exit.c
M openmp/libomptarget/test/mapping/target_data_array_extension_at_exit.c
M openmp/libomptarget/test/offloading/atomic-compare-signedness.c
M openmp/runtime/test/atomic/omp-atomic-compare-signedness.c
Log Message:
-----------
[OpenMP] Update the default version of OpenMP to 5.1
The default version of OpenMP is updated from 5.0 to 5.1 which means if -fopenmp is specified but -fopenmp-version is not specified with clang, the default version of OpenMP is taken to be 5.1. After modifying the Frontend for that, various LIT tests were updated. This patch contains all such changes. At a high level, these are the patterns of changes observed in LIT tests -
# RUN lines which mentioned `-fopenmp-version=50` need to kept only if the IR for version 5.0 and 5.1 are different. Otherwise only one RUN line with no version info(i.e. default version) needs to be there.
# Test cases of this sort already had the RUN lines with respect to the older default version 5.0 and the version 5.1. Only swapping the version specification flag `-fopenmp-version` from newer version RUN line to older version RUN line is required.
# Diagnostics: Remove the 5.0 version specific RUN lines if there was no difference in the Diagnostics messages with respect to the default 5.1.
# Diagnostics: In case there was any difference in diagnostics messages between 5.0 and 5.1, mention version specific messages in tests.
# If the test contained version specific ifdef's e.g. "#ifdef OMP5" but there were no RUN lines for any other version than 5.X, then bring the code guarded by ifdef's outside and remove the ifdef's.
# Some tests had RUN lines for both 5.0 and 5.1 versions, but it is found that the IR for 5.0 is not different from the 5.1, therefore such RUN lines are redundant. So, such duplicated lines are removed.
# To generate CHECK lines automatically, use the script llvm/utils/update_cc_test_checks.py
Reviewed By: saiislam, ABataev
Differential Revision: https://reviews.llvm.org/D129635
(cherry picked from commit 9dd2999907dc791136a75238a6000f69bf67cf4e)
More information about the All-commits
mailing list