Skip to content

Commit af4ddd5

Browse files
committed
[flang] Update tco after 0dc66b7
Minor fix to appease the buildbots.
1 parent 93e6632 commit af4ddd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/tools/tco/tco.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ compileFIR(const mlir::PassPipelineCLParser &passPipeline) {
7979
mlir::MLIRContext context(registry);
8080
fir::support::loadDialects(context);
8181
fir::support::registerLLVMTranslation(context);
82-
auto owningRef = mlir::parseSourceFile(sourceMgr, &context);
82+
auto owningRef = mlir::parseSourceFile<mlir::ModuleOp>(sourceMgr, &context);
8383

8484
if (!owningRef) {
8585
errs() << "Error can't load file " << inputFilename << '\n';

0 commit comments

Comments
 (0)