forked from OSchip/llvm-project
parent
b5f983e4b0
commit
f1c31b95e0
|
@ -51,7 +51,8 @@ ARMBaseTargetMachine::ARMBaseTargetMachine(const Target &T, StringRef TT,
|
|||
Subtarget(TT, CPU, FS, Options),
|
||||
JITInfo(),
|
||||
InstrItins(Subtarget.getInstrItineraryData()) {
|
||||
// Default to soft float ABI
|
||||
|
||||
// Default to triple-appropriate float ABI
|
||||
if (Options.FloatABIType == FloatABI::Default)
|
||||
this->Options.FloatABIType =
|
||||
Subtarget.isTargetHardFloat() ? FloatABI::Hard : FloatABI::Soft;
|
||||
|
|
Loading…
Reference in New Issue