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: http://review.tizen.org/git/?a=commitdiff_plain;h=e9eb0913a92e78ae438dd564729da952284d5972;p=platform%2Fupstream%2Fllvm.git Revert of r282255 because of "Fell off the end of a string-switch" buildbot failures. llvm-svn: 282257 --- 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;