[llvm] 3f51c5d - [OpenMPOpt][FIX] Resolve OpenMP runtime call type mismatches

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 23 09:44:39 PDT 2020


Author: Johannes Doerfert
Date: 2020-03-23T11:43:36-05:00
New Revision: 3f51c5d9caa84f974686d62c3978442385c9bf36

URL: https://github.com/llvm/llvm-project/commit/3f51c5d9caa84f974686d62c3978442385c9bf36
DIFF: https://github.com/llvm/llvm-project/commit/3f51c5d9caa84f974686d62c3978442385c9bf36.diff

LOG: [OpenMPOpt][FIX] Resolve OpenMP runtime call type mismatches

Exposed by D76058 and tested once that one lands.

Added: 
    

Modified: 
    llvm/include/llvm/Frontend/OpenMP/OMPKinds.def

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Frontend/OpenMP/OMPKinds.def b/llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
index d37c3911edf2..10ac5a759e77 100644
--- a/llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
+++ b/llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
@@ -209,8 +209,8 @@ __OMP_RTL(omp_get_thread_limit, false, Int32, )
 __OMP_RTL(omp_get_supported_active_levels, false, Int32, )
 __OMP_RTL(omp_get_max_active_levels, false, Int32, )
 __OMP_RTL(omp_get_level, false, Int32, )
-__OMP_RTL(omp_get_ancestor_thread_num, false, Int32, )
-__OMP_RTL(omp_get_team_size, false, Int32, )
+__OMP_RTL(omp_get_ancestor_thread_num, false, Int32, Int32)
+__OMP_RTL(omp_get_team_size, false, Int32, Int32)
 __OMP_RTL(omp_get_active_level, false, Int32, )
 __OMP_RTL(omp_in_final, false, Int32, )
 __OMP_RTL(omp_get_proc_bind, false, Int32, )
@@ -219,7 +219,7 @@ __OMP_RTL(omp_get_num_procs, false, Int32, )
 __OMP_RTL(omp_get_place_proc_ids, false, Void, Int32, Int32Ptr)
 __OMP_RTL(omp_get_place_num, false, Int32, )
 __OMP_RTL(omp_get_partition_num_places, false, Int32, )
-__OMP_RTL(omp_get_partition_place_nums, false, Int32, )
+__OMP_RTL(omp_get_partition_place_nums, false, Void, Int32Ptr)
 
 __OMP_RTL(omp_set_num_threads, false, Void, Int32)
 __OMP_RTL(omp_set_dynamic, false, Void, Int32)


        


More information about the llvm-commits mailing list