ARM: update comment to match reality

llvm-svn: 197570
This commit is contained in:
Tim Northover 2013-12-18 14:18:36 +00:00
parent b5f983e4b0
commit f1c31b95e0
1 changed files with 2 additions and 1 deletions

View File

@ -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;