ARM: drop check for triple that's no longer used.

Early attempts to support AAPCS bare metal MachO targets based the decision on
the CPU being compiled for. This was not a particularly great idea and we've
got a better option now, but this check remained.

No functional change for any target we care about.

llvm-svn: 219767
This commit is contained in:
Tim Northover 2014-10-15 01:05:01 +00:00
parent d512c1edf0
commit e9ff4c29b9
1 changed files with 2 additions and 3 deletions

View File

@ -255,9 +255,8 @@ void ARMSubtarget::initSubtargetFeatures(StringRef CPU, StringRef FS) {
TargetABI = ARM_ABI_AAPCS;
break;
default:
if ((isTargetIOS() && isMClass()) ||
(TargetTriple.isOSBinFormatMachO() &&
TargetTriple.getOS() == Triple::UnknownOS))
if (TargetTriple.isOSBinFormatMachO() &&
TargetTriple.getOS() == Triple::UnknownOS)
TargetABI = ARM_ABI_AAPCS;
else
TargetABI = ARM_ABI_APCS;