Revert of r282255 because of "Fell off the end of a string-switch" buildbot

failures.

llvm-svn: 282257
This commit is contained in:
Sjoerd Meijer 2016-09-23 15:37:17 +00:00
parent cfdd1fdfb6
commit e9eb0913a9
1 changed files with 0 additions and 7 deletions

View File

@ -537,12 +537,6 @@ void EmitAssemblyHelper::CreateTargetMachine(bool MustCreateTM) {
.Case("posix", llvm::ThreadModel::POSIX)
.Case("single", llvm::ThreadModel::Single);
Options.FPDenormalType =
llvm::StringSwitch<llvm::FPDenormal::DenormalType>(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;