Skip to content

Commit

Permalink
[Flang] fix initializer with empty string to fix aarch64 build
Browse files Browse the repository at this point in the history
After tuneCPU was changed to std::string in c8376a9
the aarch64 flang build broke, due to a missing initializer.
  • Loading branch information
Scott Manley committed Feb 12, 2025
1 parent 108e6bc commit e37d3ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flang/lib/Optimizer/Passes/Pipelines.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ void createDefaultFIRCodeGenPassPipeline(mlir::PassManager &pm,
pm.addPass(fir::createFunctionAttr(
{framePointerKind, config.NoInfsFPMath, config.NoNaNsFPMath,
config.ApproxFuncFPMath, config.NoSignedZerosFPMath,
config.UnsafeFPMath}));
config.UnsafeFPMath, ""}));

fir::addFIRToLLVMPass(pm, config);
}
Expand Down

0 comments on commit e37d3ed

Please sign in to comment.