Skip to content

Commit a6bcb51

Browse files
committed
[Flang] Make comment less ambigious
1 parent 74d59ba commit a6bcb51

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

flang/lib/Optimizer/CodeGen/CodeGenOpenMP.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,9 @@ struct MapInfoOpConversion
145145
fir::unwrapSequenceType(typeAttr.getValue()));
146146
if (auto type = mlir::dyn_cast<mlir::LLVM::LLVMArrayType>(newAttr))
147147
newAttr = type.getElementType();
148-
// We do not generate for device, as MapBoundsOps are
149-
// unsupported, as they're currently unused.
148+
// We do not generate MapBoundsOps for the device pass, as
149+
// MapBoundsOps are not generated for the device pass, as
150+
// they're unused in the device lowering.
150151
auto offloadMod =
151152
llvm::dyn_cast_or_null<mlir::omp::OffloadModuleInterface>(
152153
*curOp->getParentOfType<mlir::ModuleOp>());

0 commit comments

Comments
 (0)