mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-18 13:34:04 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219767 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c6d2db4db1
commit
d3458577a9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user