[flang-commits] [flang] [llvm] [mlir] [flang][OpenMP] Lower target in_reduction for host fallback (PR #199967)
Sergio Afonso via flang-commits
flang-commits at lists.llvm.org
Mon Jul 13 05:20:21 PDT 2026
================
@@ -1218,6 +1218,57 @@ Value *OpenMPIRBuilder::getOrCreateThreadID(Value *Ident) {
"omp_global_thread_num");
}
+OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::createTargetInReduction(
+ const LocationDescription &Loc, ArrayRef<Value *> OrigPtrs,
+ ArrayRef<Type *> ResultPtrTys,
+ function_ref<void(unsigned, Value *)> MapPrivate) {
----------------
skatrak wrote:
```suggestion
function_ref<void(unsigned, Value *)> MapPrivateCB) {
```
https://github.com/llvm/llvm-project/pull/199967
More information about the flang-commits
mailing list