[llvm] [OpenMP][OMPIRBuilder] Add support to omp target parallel (PR #67000)
Dominik Adamski via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 9 05:35:39 PDT 2023
================
@@ -1090,6 +1097,174 @@ void OpenMPIRBuilder::emitCancelationCheckImpl(Value *CancelFlag,
Builder.SetInsertPoint(NonCancellationBlock, NonCancellationBlock->begin());
}
+static void targetParallelCallback(OpenMPIRBuilder *OMPIRBuilder,
+ Function &OutlinedFn, Function *OuterFn,
+ Value *Ident, Value *IfCondition,
+ Value *NumThreads, Instruction *PrivTID,
+ AllocaInst *PrivTIDAddr, Value *ThreadID,
+ SmallVector<Instruction *, 4> ToBeDeleted) {
----------------
DominikAdamski wrote:
Fixed
https://github.com/llvm/llvm-project/pull/67000
More information about the llvm-commits
mailing list