Remove setting FloatABIType from the X86 port, nothing uses it.
authorEric Christopher <echristo@gmail.com>
Thu, 14 May 2015 22:26:54 +0000 (22:26 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 14 May 2015 22:26:54 +0000 (22:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237398 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86TargetMachine.cpp

index d5e7eac37c480f71afa618c7dea014db852ab326..2c59ed3f1ac91d2e3589d35e5722fe57f7b8b5e8 100644 (file)
@@ -98,10 +98,6 @@ X86TargetMachine::X86TargetMachine(const Target &T, StringRef TT, StringRef CPU,
                         RM, CM, OL),
       TLOF(createTLOF(Triple(getTargetTriple()))),
       Subtarget(TT, CPU, FS, *this, Options.StackAlignmentOverride) {
-  // default to hard float ABI
-  if (Options.FloatABIType == FloatABI::Default)
-    this->Options.FloatABIType = FloatABI::Hard;
-
   // Windows stack unwinder gets confused when execution flow "falls through"
   // after a call to 'noreturn' function.
   // To prevent that, we emit a trap for 'unreachable' IR instructions.