[flang-commits] [flang] [Flang][OpenMP][MLIR] Lowering of reduction, inreduction, nogroup and lastprivate clause to MLIR (PR #166751)
Jack Styles via flang-commits
flang-commits at lists.llvm.org
Fri Nov 7 06:41:50 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) ||
----------------
Stylie777 wrote:
We should also update the error message in the `else` block to reflect that support also now includes taskloop
https://github.com/llvm/llvm-project/pull/166751
More information about the flang-commits
mailing list