diff options
| author | Johannes Doerfert <johannes@jdoerfert.de> | 2020-03-23 11:39:34 -0500 |
|---|---|---|
| committer | Johannes Doerfert <johannes@jdoerfert.de> | 2020-03-23 11:43:36 -0500 |
| commit | 3f51c5d9caa84f974686d62c3978442385c9bf36 (patch) | |
| tree | 0e53164bca9808b1fc59f4cdcca85e6a69ead23d | |
| parent | ff2f5097ed448bb4fdd25c7f5ebf4ad70a8af484 (diff) | |
| download | llvm-3f51c5d9caa84f974686d62c3978442385c9bf36.zip llvm-3f51c5d9caa84f974686d62c3978442385c9bf36.tar.gz llvm-3f51c5d9caa84f974686d62c3978442385c9bf36.tar.bz2 | |
[OpenMPOpt][FIX] Resolve OpenMP runtime call type mismatches
Exposed by D76058 and tested once that one lands.
| -rw-r--r-- | llvm/include/llvm/Frontend/OpenMP/OMPKinds.def | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/Frontend/OpenMP/OMPKinds.def b/llvm/include/llvm/Frontend/OpenMP/OMPKinds.def index d37c391..10ac5a7 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) |
