File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
flang/include/flang/Tools Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -315,7 +315,7 @@ inline void createDefaultFIRCodeGenPassPipeline(
315
315
// Add function attributes
316
316
fir::FunctionAttrTypes functionAttrs;
317
317
318
- if (config.FramePointerKind != llvm::FramePointerKind::None ||
318
+ if (config.FramePointerKind != llvm::FramePointerKind::None ||
319
319
config.NoInfsFPMath || config.NoNaNsFPMath || config.ApproxFuncFPMath ||
320
320
config.NoSignedZerosFPMath || config.UnsafeFPMath ) {
321
321
if (config.FramePointerKind == llvm::FramePointerKind::NonLeaf)
@@ -328,11 +328,9 @@ inline void createDefaultFIRCodeGenPassPipeline(
328
328
functionAttrs.framePointerKind =
329
329
mlir::LLVM::framePointerKind::FramePointerKind::None;
330
330
331
- pm.addPass (
332
- fir::createFunctionAttrPass (functionAttrs, config.NoInfsFPMath ,
333
- config.NoNaNsFPMath , config.ApproxFuncFPMath ,
334
- config.NoSignedZerosFPMath ,
335
- config.UnsafeFPMath ));
331
+ pm.addPass (fir::createFunctionAttrPass (functionAttrs, config.NoInfsFPMath ,
332
+ config.NoNaNsFPMath , config.ApproxFuncFPMath ,
333
+ config.NoSignedZerosFPMath , config.UnsafeFPMath ));
336
334
}
337
335
338
336
fir::addFIRToLLVMPass (pm, config);
You can’t perform that action at this time.
0 commit comments