[clang] [openmp] [OpenMP 6.0 ]Codegen for Reduction over private variables with reduction clause (PR #134709)
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Tue May 20 05:54:24 PDT 2025
================
@@ -5748,7 +5754,7 @@ void CodeGenFunction::EmitOMPScanDirective(const OMPScanDirective &S) {
}
CGM.getOpenMPRuntime().emitReduction(
*this, ParentDir.getEndLoc(), Privates, LHSs, RHSs, ReductionOps,
- {/*WithNowait=*/true, /*SimpleReduction=*/true, OMPD_simd});
+ {/*WithNowait=*/true, /*SimpleReduction=*/true, false, OMPD_simd});
----------------
alexey-bataev wrote:
```suggestion
{/*WithNowait=*/true, /*SimpleReduction=*/true, /*IsPrivateVarReduction=*/false, OMPD_simd});
```
https://github.com/llvm/llvm-project/pull/134709
More information about the cfe-commits
mailing list