[Openmp-commits] [PATCH] D98584: [OpenMP] Misc. changes that add or remove pointer/bound checks

Hansang Bae via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sat Mar 13 09:20:26 PST 2021


hbae created this revision.
hbae added reviewers: AndreyChurbanov, tlwilmar, jlpeyton, Nawrin.
hbae added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
hbae requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.

Summary of the changes:

- Added or moved checks to appropriate places.
- Removed ineffective null check where the pointer is already being dereferenced around the code.
- Initialized variables that can be used without definitions.
- Added call to dlclose/FreeLibrary in OMPT tool activation.
- Added a new build compiler definition.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98584

Files:
  openmp/runtime/src/kmp_barrier.cpp
  openmp/runtime/src/kmp_dispatch.cpp
  openmp/runtime/src/kmp_runtime.cpp
  openmp/runtime/src/kmp_sched.cpp
  openmp/runtime/src/kmp_settings.cpp
  openmp/runtime/src/kmp_tasking.cpp
  openmp/runtime/src/kmp_version.cpp
  openmp/runtime/src/ompt-general.cpp
  openmp/runtime/src/ompt-specific.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98584.330456.patch
Type: text/x-patch
Size: 13359 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210313/c1d6769a/attachment-0001.bin>


More information about the Openmp-commits mailing list