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 6d70fe1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flang/lib/Optimizer/Passes/Pipelines.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,8 @@ void createDefaultFIRCodeGenPassPipeline(mlir::PassManager &pm,

pm.addPass(fir::createFunctionAttr(
{framePointerKind, config.NoInfsFPMath, config.NoNaNsFPMath,
config.ApproxFuncFPMath, config.NoSignedZerosFPMath,
config.UnsafeFPMath}));
config.ApproxFuncFPMath, config.NoSignedZerosFPMath, config.UnsafeFPMath,
""}));

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

0 comments on commit 6d70fe1

Please sign in to comment.