Skip to content

Commit 78c2406

Browse files
committed
[Flang][OpenMP][MLIR]Updated the error message for lastprivate clause
1 parent 397edbf commit 78c2406

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Lower/OpenMP/DataSharingProcessor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ void DataSharingProcessor::insertLastPrivateCompare(mlir::Operation *op) {
409409
} else {
410410
TODO(converter.getCurrentLocation(),
411411
"lastprivate clause in constructs other than "
412-
"simd/worksharing-loop");
412+
"simd/worksharing-loop/taskloop");
413413
}
414414
}
415415

0 commit comments

Comments
 (0)