================
@@ -352,6 +352,18 @@ void CIRGenModule::emitCXXGlobalVarDeclInit(const VarDecl
*varDecl,
CIRGenFunction::SourceLocRAIIObject fnLoc{cgf,
getLoc(varDecl->getLocation())};
+ // Set up the constrained FP environment for the dynamic initializer.
+ llvm::RoundingMode rm = getLangOpts().getDefaultRoundingMode();
----------------
erichkeane wrote:
Ok, good enough for now then I guess.
https://github.com/llvm/llvm-project/pull/213776
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits