[OpenMP] Refactoring: Move teams forking and serial region forking to separate functions.
authorTerry Wilmarth <terry.l.wilmarth@intel.com>
Thu, 1 Dec 2022 15:13:48 +0000 (09:13 -0600)
committerTerry Wilmarth <terry.l.wilmarth@intel.com>
Mon, 12 Dec 2022 23:19:53 +0000 (17:19 -0600)
commitbc6cc63ab839fc6595c548a70fcdf17d95859893
tree76fd00b2d836ad7ac42c74c9d2b08b866517fefc
parent9055661b958753df6e4ea546ddcec9a7e8fa8f20
[OpenMP] Refactoring: Move teams forking and serial region forking to separate functions.

Code for serial parallel regions and teams construct have been moved
out of __kmp_fork_call and into separate functions.  This is to reduce
the size of the __kmp_fork_call function, and aid in debugging.

Differential Revision: https://reviews.llvm.org/D139116
openmp/runtime/src/kmp_runtime.cpp