forked from OSchip/llvm-project
Remove setting FloatABIType from the X86 port, nothing uses it.
llvm-svn: 237398
This commit is contained in:
parent
682bfbf35f
commit
149d37abd4
|
@ -98,10 +98,6 @@ X86TargetMachine::X86TargetMachine(const Target &T, StringRef TT, StringRef CPU,
|
||||||
RM, CM, OL),
|
RM, CM, OL),
|
||||||
TLOF(createTLOF(Triple(getTargetTriple()))),
|
TLOF(createTLOF(Triple(getTargetTriple()))),
|
||||||
Subtarget(TT, CPU, FS, *this, Options.StackAlignmentOverride) {
|
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"
|
// Windows stack unwinder gets confused when execution flow "falls through"
|
||||||
// after a call to 'noreturn' function.
|
// after a call to 'noreturn' function.
|
||||||
// To prevent that, we emit a trap for 'unreachable' IR instructions.
|
// To prevent that, we emit a trap for 'unreachable' IR instructions.
|
||||||
|
|
Loading…
Reference in New Issue