Skip to content

Commit 9978426

Browse files
committed
Update builder.create<fir::CallOp> into fir::CallOp::create
1 parent b1fc2cd commit 9978426

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Optimizer/Builder/Runtime/Coarray.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ void genCollectiveSubroutine(fir::FirOpBuilder &builder, mlir::Location loc,
118118
auto [errmsgArg, errmsgAllocArg] = genErrmsgPRIF(builder, loc, errmsg);
119119
llvm::SmallVector<mlir::Value> args = fir::runtime::createArguments(
120120
builder, loc, ftype, A, rootImage, stat, errmsgArg, errmsgAllocArg);
121-
builder.create<fir::CallOp>(loc, funcOp, args);
121+
fir::CallOp::create(builder, loc, funcOp, args);
122122
}
123123

124124
/// Generate call to runtime subroutine prif_co_broadcast

0 commit comments

Comments
 (0)