We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74d59ba commit a6bcb51Copy full SHA for a6bcb51
flang/lib/Optimizer/CodeGen/CodeGenOpenMP.cpp
@@ -145,8 +145,9 @@ struct MapInfoOpConversion
145
fir::unwrapSequenceType(typeAttr.getValue()));
146
if (auto type = mlir::dyn_cast<mlir::LLVM::LLVMArrayType>(newAttr))
147
newAttr = type.getElementType();
148
- // We do not generate for device, as MapBoundsOps are
149
- // unsupported, as they're currently unused.
+ // We do not generate MapBoundsOps for the device pass, as
+ // MapBoundsOps are not generated for the device pass, as
150
+ // they're unused in the device lowering.
151
auto offloadMod =
152
llvm::dyn_cast_or_null<mlir::omp::OffloadModuleInterface>(
153
*curOp->getParentOfType<mlir::ModuleOp>());
0 commit comments