[all-commits] [llvm/llvm-project] f8c40e: [OpenMP] Use AAHeapToStack/AAHeapToShared analysis...
Giorgis Georgakoudis via All-commits
all-commits at lists.llvm.org
Thu Jul 22 18:08:52 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f8c40ed8f8e760cfc672dbd1b8d8b4d9357e4a16
https://github.com/llvm/llvm-project/commit/f8c40ed8f8e760cfc672dbd1b8d8b4d9357e4a16
Author: Giorgis Georgakoudis <georgakoudis1 at llnl.gov>
Date: 2021-07-22 (Thu, 22 Jul 2021)
Changed paths:
M llvm/include/llvm/Transforms/IPO/Attributor.h
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
M llvm/test/Transforms/OpenMP/spmdization.ll
Log Message:
-----------
[OpenMP] Use AAHeapToStack/AAHeapToShared analysis in SPMDization
SPMDization D102307 detects incompatible OpenMP runtime calls to abort converting a target region to SPMD mode. Calls to memory allocation/de-allocation routines kmpc_alloc_shared, kmpc_free_shared are incompatible unless they are removed by AAHeapToStack/AAHeapToShared analysis. This patch extends SPMDization detection to include AAHeapToStack/AAHeapToShared analysis results for enlarging the scope of possible SPMDized regions detected.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D105634
More information about the All-commits
mailing list