[Openmp-commits] [flang] [mlir] [openmp] [MLIR][OpenMP] Add scan reduction lowering to llvm (PR #167031)
Anchu Rajendran S via Openmp-commits
openmp-commits at lists.llvm.org
Mon Jan 5 22:53:30 PST 2026
================
@@ -2574,20 +2667,76 @@ convertOmpWsloop(Operation &opInst, llvm::IRBuilderBase &builder,
if (failed(handleError(regionBlock, opInst)))
return failure();
- llvm::CanonicalLoopInfo *loopInfo = findCurrentLoopInfo(moduleTranslation);
+ SmallVector<llvm::CanonicalLoopInfo *> loopInfos =
+ findCurrentLoopInfos(moduleTranslation);
+
+ const auto &&wsloopCodeGen = [&](llvm::CanonicalLoopInfo *loopInfo,
----------------
anchuraj wrote:
wsloopOp is used inside which does not allow me to create a new copy
https://github.com/llvm/llvm-project/pull/167031
More information about the Openmp-commits
mailing list