[llvm] r237398 - Remove setting FloatABIType from the X86 port, nothing uses it.
Eric Christopher
echristo at gmail.com
Thu May 14 15:26:55 PDT 2015
Author: echristo
Date: Thu May 14 17:26:54 2015
New Revision: 237398
URL: http://llvm.org/viewvc/llvm-project?rev=237398&view=rev
Log:
Remove setting FloatABIType from the X86 port, nothing uses it.
Modified:
llvm/trunk/lib/Target/X86/X86TargetMachine.cpp
Modified: llvm/trunk/lib/Target/X86/X86TargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86TargetMachine.cpp?rev=237398&r1=237397&r2=237398&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86TargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86TargetMachine.cpp Thu May 14 17:26:54 2015
@@ -98,10 +98,6 @@ X86TargetMachine::X86TargetMachine(const
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.
More information about the llvm-commits
mailing list