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 113e95e commit 28b66d1Copy full SHA for 28b66d1
flang/lib/Optimizer/CodeGen/CodeGen.cpp
@@ -375,7 +375,7 @@ struct AllocaOpConversion : public FIROpConversion<fir::AllocaOp> {
375
}
376
if (alloc.hasShapeOperands()) {
377
auto allocEleTy = fir::unwrapRefType(alloc.getType());
378
- // Scale the size by constants factors encoded in the array type.
+ // Scale the size by constant factors encoded in the array type.
379
if (auto seqTy = allocEleTy.dyn_cast<fir::SequenceType>()) {
380
fir::SequenceType::Extent constSize = 1;
381
for (auto extent : seqTy.getShape())
0 commit comments