summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c6d2db4)
raw | patch | inline | side by side (parent: c6d2db4)
author | Tim Northover <tnorthover@apple.com> | |
Wed, 15 Oct 2014 01:05:01 +0000 (01:05 +0000) | ||
committer | Tim Northover <tnorthover@apple.com> | |
Wed, 15 Oct 2014 01:05:01 +0000 (01:05 +0000) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219767 91177308-0d34-0410-b5e6-96231b3b80d8
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219767 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMSubtarget.cpp | patch | blob | history |
index 89534fb0141bc5a9c494b70c256379ad5f4acd8c..df17e7590d9ea2d6e761b67ef3ad30b93dad978f 100644 (file)
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;