diff options
author | Evan Cheng <evan.cheng@apple.com> | 2012-02-21 20:46:00 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2012-02-21 20:46:00 +0000 |
commit | 07043279f60622243d16d8a3f60805960482083c (patch) | |
tree | f07d5f6d58c8e9d12ebdacf39546964ec4c9ba21 /lib/Target/ARM/ARMSelectionDAGInfo.cpp | |
parent | e16da6c0209de26f96d2dc71b4ea1ed6fc50c564 (diff) | |
download | llvm-07043279f60622243d16d8a3f60805960482083c.tar.gz llvm-07043279f60622243d16d8a3f60805960482083c.tar.bz2 llvm-07043279f60622243d16d8a3f60805960482083c.tar.xz |
Proper support for a bastardized darwin-eabi hybird ABI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151083 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMSelectionDAGInfo.cpp')
-rw-r--r-- | lib/Target/ARM/ARMSelectionDAGInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMSelectionDAGInfo.cpp b/lib/Target/ARM/ARMSelectionDAGInfo.cpp index 36d58de77e..3113b62c1f 100644 --- a/lib/Target/ARM/ARMSelectionDAGInfo.cpp +++ b/lib/Target/ARM/ARMSelectionDAGInfo.cpp @@ -145,8 +145,8 @@ EmitTargetCodeForMemset(SelectionDAG &DAG, DebugLoc dl, SDValue Src, SDValue Size, unsigned Align, bool isVolatile, MachinePointerInfo DstPtrInfo) const { - // Use default for non AAPCS subtargets - if (!Subtarget->isAAPCS_ABI()) + // Use default for non AAPCS (or Darwin) subtargets + if (!Subtarget->isAAPCS_ABI() || Subtarget->isTargetDarwin()) return SDValue(); const ARMTargetLowering &TLI = |