From e9eb0913a92e78ae438dd564729da952284d5972 Mon Sep 17 00:00:00 2001 From: Sjoerd Meijer Date: Fri, 23 Sep 2016 15:37:17 +0000 Subject: [PATCH] Revert of r282255 because of "Fell off the end of a string-switch" buildbot failures. llvm-svn: 282257 --- clang/lib/CodeGen/BackendUtil.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp index 2eab755..541e676 100644 --- a/clang/lib/CodeGen/BackendUtil.cpp +++ b/clang/lib/CodeGen/BackendUtil.cpp @@ -537,12 +537,6 @@ void EmitAssemblyHelper::CreateTargetMachine(bool MustCreateTM) { .Case("posix", llvm::ThreadModel::POSIX) .Case("single", llvm::ThreadModel::Single); - Options.FPDenormalType = - llvm::StringSwitch(CodeGenOpts.FPDenormalMode) - .Case("ieee", llvm::FPDenormal::IEEE) - .Case("preserve-sign", llvm::FPDenormal::PreserveSign) - .Case("positive-zero", llvm::FPDenormal::PositiveZero); - // Set float ABI type. assert((CodeGenOpts.FloatABI == "soft" || CodeGenOpts.FloatABI == "softfp" || CodeGenOpts.FloatABI == "hard" || CodeGenOpts.FloatABI.empty()) && @@ -585,7 +579,6 @@ void EmitAssemblyHelper::CreateTargetMachine(bool MustCreateTM) { Options.LessPreciseFPMADOption = CodeGenOpts.LessPreciseFPMAD; Options.NoInfsFPMath = CodeGenOpts.NoInfsFPMath; Options.NoNaNsFPMath = CodeGenOpts.NoNaNsFPMath; - Options.NoTrappingFPMath = CodeGenOpts.NoTrappingMath; Options.NoZerosInBSS = CodeGenOpts.NoZeroInitializedInBSS; Options.UnsafeFPMath = CodeGenOpts.UnsafeFPMath; Options.StackAlignmentOverride = CodeGenOpts.StackAlignment; -- 2.7.4