Skip to content

Commit 3f51c5d

Browse files
committed
[OpenMPOpt][FIX] Resolve OpenMP runtime call type mismatches
Exposed by D76058 and tested once that one lands.
1 parent ff2f509 commit 3f51c5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ __OMP_RTL(omp_get_thread_limit, false, Int32, )
209209
__OMP_RTL(omp_get_supported_active_levels, false, Int32, )
210210
__OMP_RTL(omp_get_max_active_levels, false, Int32, )
211211
__OMP_RTL(omp_get_level, false, Int32, )
212-
__OMP_RTL(omp_get_ancestor_thread_num, false, Int32, )
213-
__OMP_RTL(omp_get_team_size, false, Int32, )
212+
__OMP_RTL(omp_get_ancestor_thread_num, false, Int32, Int32)
213+
__OMP_RTL(omp_get_team_size, false, Int32, Int32)
214214
__OMP_RTL(omp_get_active_level, false, Int32, )
215215
__OMP_RTL(omp_in_final, false, Int32, )
216216
__OMP_RTL(omp_get_proc_bind, false, Int32, )
@@ -219,7 +219,7 @@ __OMP_RTL(omp_get_num_procs, false, Int32, )
219219
__OMP_RTL(omp_get_place_proc_ids, false, Void, Int32, Int32Ptr)
220220
__OMP_RTL(omp_get_place_num, false, Int32, )
221221
__OMP_RTL(omp_get_partition_num_places, false, Int32, )
222-
__OMP_RTL(omp_get_partition_place_nums, false, Int32, )
222+
__OMP_RTL(omp_get_partition_place_nums, false, Void, Int32Ptr)
223223

224224
__OMP_RTL(omp_set_num_threads, false, Void, Int32)
225225
__OMP_RTL(omp_set_dynamic, false, Void, Int32)

0 commit comments

Comments
 (0)