[flang-commits] [flang] [Flang][OpenMP][MLIR] Lowering of reduction, inreduction, nogroup and lastprivate clause to MLIR (PR #166751)
Kaviya Rajendiran via flang-commits
flang-commits at lists.llvm.org
Fri Nov 7 07:16:39 PST 2025
================
@@ -342,7 +342,8 @@ void DataSharingProcessor::insertLastPrivateCompare(mlir::Operation *op) {
if (!hasLastPrivate)
return;
- if (mlir::isa<mlir::omp::WsloopOp>(op) || mlir::isa<mlir::omp::SimdOp>(op)) {
+ if (mlir::isa<mlir::omp::WsloopOp>(op) || mlir::isa<mlir::omp::SimdOp>(op) ||
----------------
kaviya2510 wrote:
Thankyou @Stylie777 for the review.
Sure, Let me update the changes in the else block.
https://github.com/llvm/llvm-project/pull/166751
More information about the flang-commits
mailing list