================
@@ -1092,7 +1092,7 @@ void CodeGenFunction::StartFunction(GlobalDecl GD,
QualType RetTy,
if ((FD && (FD->UsesFPIntrin() || FD->hasAttr<StrictFPAttr>())) ||
(!FD && (FPExceptionBehavior != llvm::fp::ebIgnore ||
RM != llvm::RoundingMode::NearestTiesToEven))) {
- Builder.setIsFPConstrained(true);
+ Builder.setIsFPConstrained(true, false);
----------------
spavloff wrote:
In addition to `setIsFPConstrained`, which keeps original signature, a method
`resetModeToStrictFP(bool IsCon)` is added, which also resets IRBuilder's FP
properties.
https://github.com/llvm/llvm-project/pull/135658
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits