diff options
author | Evan Cheng <evan.cheng@apple.com> | 2012-04-27 02:11:10 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2012-04-27 02:11:10 +0000 |
commit | afb3b5ebe61b480527de86311d2a0770fc857d38 (patch) | |
tree | c3a79991c9bf2db8dac441a4b3eddbf6052610bb /lib/Target/ARM/ARMSubtarget.cpp | |
parent | 97a454317af1903b269d42d368d2263ab79b6ed1 (diff) |
Implement a bastardized ABI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155686 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMSubtarget.cpp')
-rw-r--r-- | lib/Target/ARM/ARMSubtarget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMSubtarget.cpp b/lib/Target/ARM/ARMSubtarget.cpp index 25e611bee4..ac568b1a08 100644 --- a/lib/Target/ARM/ARMSubtarget.cpp +++ b/lib/Target/ARM/ARMSubtarget.cpp @@ -103,7 +103,7 @@ ARMSubtarget::ARMSubtarget(const std::string &TT, const std::string &CPU, // After parsing Itineraries, set ItinData.IssueWidth. computeIssueWidth(); - if (TT.find("eabi") != std::string::npos) + if ((TT.find("eabi") != std::string::npos) || (isTargetIOS() && isMClass())) // FIXME: We might want to separate AAPCS and EABI. Some systems, e.g. // Darwin-EABI conforms to AACPS but not the rest of EABI. TargetABI = ARM_ABI_AAPCS; |