[llvm] r219767 - ARM: drop check for triple that's no longer used.
Tim Northover
tnorthover at apple.com
Tue Oct 14 18:05:01 PDT 2014
Author: tnorthover
Date: Tue Oct 14 20:05:01 2014
New Revision: 219767
URL: http://llvm.org/viewvc/llvm-project?rev=219767&view=rev
Log:
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.
Modified:
llvm/trunk/lib/Target/ARM/ARMSubtarget.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMSubtarget.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMSubtarget.cpp?rev=219767&r1=219766&r2=219767&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMSubtarget.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMSubtarget.cpp Tue Oct 14 20:05:01 2014
@@ -255,9 +255,8 @@ void ARMSubtarget::initSubtargetFeatures
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;
More information about the llvm-commits
mailing list