File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -5383,7 +5383,7 @@ class ArrayExprLowering {
5383
5383
: defaultStoreToDestination (substring);
5384
5384
return [=](IterSpace iters) -> ExtValue { return lambda (iters); };
5385
5385
}
5386
- if (semant == ConstituentSemantics::CustomCopyInCopyOut ) {
5386
+ if (isCustomCopyInCopyOut () ) {
5387
5387
// Create an array_modify to get the LHS element address and indicate
5388
5388
// the assignment, the actual assignment must be implemented in
5389
5389
// ccStoreToDest.
Original file line number Diff line number Diff line change @@ -1215,10 +1215,8 @@ struct EmboxCommonConversion : public FIROpConversion<OP> {
1215
1215
1216
1216
llvm::SmallVector<mlir::Value> typeparams = lenParams;
1217
1217
if constexpr (!std::is_same_v<BOX, fir::EmboxOp>) {
1218
- if (!box.substr ().empty () && fir::hasDynamicSize (boxTy.getEleTy ())) {
1219
- // TODO: is this correct?
1218
+ if (!box.substr ().empty () && fir::hasDynamicSize (boxTy.getEleTy ()))
1220
1219
typeparams.push_back (box.substr ()[1 ]);
1221
- }
1222
1220
}
1223
1221
1224
1222
// Write each of the fields with the appropriate values
You can’t perform that action at this time.
0 commit comments