From: Sjoerd Meijer Date: Fri, 23 Sep 2016 15:37:17 +0000 (+0000) Subject: Revert of r282255 because of "Fell off the end of a string-switch" buildbot X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1349047c2e56a6482b21f1eb7aacc384c4e8f414;p=clang Revert of r282255 because of "Fell off the end of a string-switch" buildbot failures. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@282257 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/BackendUtil.cpp b/lib/CodeGen/BackendUtil.cpp index 2eab755400..541e676be2 100644 --- a/lib/CodeGen/BackendUtil.cpp +++ b/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;