Unbreak the clang build after r169712.
llvm-svn: 169713
This commit is contained in:
@@ -50,10 +50,10 @@ CodeGenFunction::CodeGenFunction(CodeGenModule &cgm, bool suppressNewContext)
|
||||
|
||||
llvm::FastMathFlags FMF;
|
||||
if (CGM.getLangOpts().FastMath)
|
||||
FMF.UnsafeAlgebra = true;
|
||||
FMF.setUnsafeAlgebra();
|
||||
if (CGM.getLangOpts().FiniteMathOnly) {
|
||||
FMF.NoNaNs = true;
|
||||
FMF.NoInfs = true;
|
||||
FMF.setNoNaNs();
|
||||
FMF.setNoInfs();
|
||||
}
|
||||
Builder.SetFastMathFlags(FMF);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user