[all-commits] [llvm/llvm-project] e3ee76: [Libomptarget] Revert new variable sharing to use ...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Tue Jul 27 15:14:20 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e3ee76245ead4eebad2aec0e24c2582ffa9c7378
https://github.com/llvm/llvm-project/commit/e3ee76245ead4eebad2aec0e24c2582ffa9c7378
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2021-07-27 (Tue, 27 Jul 2021)
Changed paths:
M openmp/libomptarget/DeviceRTL/include/Interface.h
M openmp/libomptarget/DeviceRTL/src/Parallelism.cpp
M openmp/libomptarget/DeviceRTL/src/State.cpp
Log Message:
-----------
[Libomptarget] Revert new variable sharing to use the old method
The new method of sharing variables introduces a `__kmpc_alloc_shared` call
that cannot be removed in the middle end because of its non-constant argument
and unconnected free. This patch reverts this to the old method that used a
static amount of shared memory for sharing variables.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D106905
More information about the All-commits
mailing list