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 | 0460ae8d80ccefde07b00cbec7105e7a4ff16d6e (patch) | |
tree | a88d9bb1589dfbc1d5275b41070d3b406749cd3e /llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp | |
parent | 5dbc14f47eda4e799a9878a1a1b990ae0287f38c (diff) | |
download | bcm5719-llvm-0460ae8d80ccefde07b00cbec7105e7a4ff16d6e.tar.gz bcm5719-llvm-0460ae8d80ccefde07b00cbec7105e7a4ff16d6e.zip |
Proper support for a bastardized darwin-eabi hybird ABI.
llvm-svn: 151083
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp b/llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp index 36d58de77e9..3113b62c1f7 100644 --- a/llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp +++ b/llvm/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 = |