diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2017-11-06 16:27:36 +0000 | 
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2017-11-06 16:27:36 +0000 | 
| commit | 401aaee300cef5e1cc1f7492ae19167f8edc7832 (patch) | |
| tree | 078419c7f120f36440d2895b3bd741b3511c4544 | |
| parent | 629c41153876b18e4c35b82dd7d410e35d79ea56 (diff) | |
| download | bcm5719-llvm-401aaee300cef5e1cc1f7492ae19167f8edc7832.tar.gz bcm5719-llvm-401aaee300cef5e1cc1f7492ae19167f8edc7832.zip  | |
[CodeGen] match new fast-math-flag method: isFast()
This corresponds to LLVM commiti r317488:
If that commit is reverted, this commit will also need to be reverted.
llvm-svn: 317489
| -rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index 234d1a2849d..3b60b996ca1 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -87,7 +87,7 @@ CodeGenFunction::CodeGenFunction(CodeGenModule &cgm, bool suppressNewContext)    llvm::FastMathFlags FMF;    if (CGM.getLangOpts().FastMath) -    FMF.setUnsafeAlgebra(); +    FMF.setFast();    if (CGM.getLangOpts().FiniteMathOnly) {      FMF.setNoNaNs();      FMF.setNoInfs();  | 

