Skip to content

Commit

Permalink
[flang][CodeGen] Replace correct op in BoxedProcedurePass (#84375)
Browse files Browse the repository at this point in the history
  • Loading branch information
kparzysz committed Mar 8, 2024
1 parent 10b0156 commit 65524fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flang/lib/Optimizer/CodeGen/BoxedProcedure.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ class BoxedProcedurePass
auto toTy = typeConverter.convertType(ty);
auto toOnTy = typeConverter.convertType(onTy);
rewriter.replaceOpWithNewOp<LenParamIndexOp>(
mem, toTy, index.getFieldId(), toOnTy, index.getTypeparams());
index, toTy, index.getFieldId(), toOnTy, index.getTypeparams());
}
} else if (op->getDialect() == firDialect) {
rewriter.startOpModification(op);
Expand Down

0 comments on commit 65524fc

Please sign in to comment.