Remove setting FloatABIType from the X86 port, nothing uses it.

llvm-svn: 237398
This commit is contained in:
Eric Christopher 2015-05-14 22:26:54 +00:00
parent 682bfbf35f
commit 149d37abd4
1 changed files with 0 additions and 4 deletions

View 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.