From 149d37abd4d5c91ccd6da7de98636adf029f5dba Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 14 May 2015 22:26:54 +0000 Subject: [PATCH] Remove setting FloatABIType from the X86 port, nothing uses it. llvm-svn: 237398 --- llvm/lib/Target/X86/X86TargetMachine.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/llvm/lib/Target/X86/X86TargetMachine.cpp b/llvm/lib/Target/X86/X86TargetMachine.cpp index d5e7eac37c48..2c59ed3f1ac9 100644 --- a/llvm/lib/Target/X86/X86TargetMachine.cpp +++ b/llvm/lib/Target/X86/X86TargetMachine.cpp @@ -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.