summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema
diff options
context:
space:
mode:
authorMelanie Blower <melanie.blower@intel.com>2019-12-04 12:21:23 -0800
committerMelanie Blower <melanie.blower@intel.com>2019-12-04 12:21:23 -0800
commit5412913631feef74f7d52c092e947227c1cc7b04 (patch)
treecc2c1bb11b3ce2a2f7337ab5a25e746973b81893 /clang/lib/Sema
parent90fce46fa6c9ccec86f642be0a75da2d0a5b11c1 (diff)
downloadbcm5719-llvm-5412913631feef74f7d52c092e947227c1cc7b04.tar.gz
bcm5719-llvm-5412913631feef74f7d52c092e947227c1cc7b04.zip
Revert " Reapply af57dbf12e54 "Add support for options -frounding-math, ftrapping-math, -ffp-model=, and -ffp-exception-behavior=""
This reverts commit cdbed2dd856c14687efd741c2d8321686102acb8. Build break on Windows (lit fail)
Diffstat (limited to 'clang/lib/Sema')
-rw-r--r--clang/lib/Sema/SemaExpr.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp
index c53a4b789be..7bbda127a54 100644
--- a/clang/lib/Sema/SemaExpr.cpp
+++ b/clang/lib/Sema/SemaExpr.cpp
@@ -13037,16 +13037,6 @@ ExprResult Sema::CreateBuiltinBinOp(SourceLocation OpLoc,
if (ResultTy.isNull() || LHS.isInvalid() || RHS.isInvalid())
return ExprError();
- if (ResultTy->isRealFloatingType() &&
- (getLangOpts().getFPRoundingMode() != LangOptions::FPR_ToNearest ||
- getLangOpts().getFPExceptionMode() != LangOptions::FPE_Ignore))
- // Mark the current function as usng floating point constrained intrinsics
- if (FunctionDecl *F = dyn_cast<FunctionDecl>(CurContext))
-{
- F->setUsesFPIntrin(true);
- printf("Enclosing function uses fp intrinsics\n");
-}
-
// Some of the binary operations require promoting operands of half vector to
// float vectors and truncating the result back to half vector. For now, we do
// this only when HalfArgsAndReturn is set (that is, when the target is arm or
OpenPOWER on IntegriCloud