diff options
author | James Molloy <james.molloy@arm.com> | 2014-05-16 14:24:22 +0000 |
---|---|---|
committer | James Molloy <james.molloy@arm.com> | 2014-05-16 14:24:22 +0000 |
commit | a70697e10eaff415a7c93e7bf4d4875cb2e32ebf (patch) | |
tree | 53d8502904367ee503f106992d3fb243ebb29ea2 /llvm/lib/Target/ARM/ARMSubtarget.h | |
parent | a80044571096fd3ea21f0bb53056e449a92b50d1 (diff) | |
download | bcm5719-llvm-a70697e10eaff415a7c93e7bf4d4875cb2e32ebf.tar.gz bcm5719-llvm-a70697e10eaff415a7c93e7bf4d4875cb2e32ebf.zip |
Re-enable inline memcpy expansion for Thumb1.
Patch by Moritz Roth!
llvm-svn: 208994
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSubtarget.h')
-rw-r--r-- | llvm/lib/Target/ARM/ARMSubtarget.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.h b/llvm/lib/Target/ARM/ARMSubtarget.h index 77e47193423..fd106f6fc86 100644 --- a/llvm/lib/Target/ARM/ARMSubtarget.h +++ b/llvm/lib/Target/ARM/ARMSubtarget.h @@ -239,9 +239,7 @@ protected: /// getMaxInlineSizeThreshold - Returns the maximum memset / memcpy size /// that still makes it profitable to inline the call. unsigned getMaxInlineSizeThreshold() const { - // FIXME: For now, we don't lower memcpy's to loads / stores for Thumb1. - // Change this once Thumb1 ldmia / stmia support is added. - return isThumb1Only() ? 0 : 64; + return 64; } /// ParseSubtargetFeatures - Parses features string setting specified /// subtarget options. Definition of function is auto generated by tblgen. |