diff options
author | Richard Osborne <richard@xmos.com> | 2009-07-16 12:41:34 +0000 |
---|---|---|
committer | Richard Osborne <richard@xmos.com> | 2009-07-16 12:41:34 +0000 |
commit | 787e90f8627251fd2c63e2e5e17132e22d5d606a (patch) | |
tree | 846763fe3e90857e19845bc455818a86594e03cc | |
parent | ff4149b903a43d98ea71a816e0d181611e5b4a3c (diff) |
Lower the threshold at which memcpy / memmove / memset stop being expanded
inline in the XCore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75906 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/XCore/XCoreISelLowering.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/XCore/XCoreISelLowering.cpp b/lib/Target/XCore/XCoreISelLowering.cpp index 7afc39e5e4..0f503bc7a6 100644 --- a/lib/Target/XCore/XCoreISelLowering.cpp +++ b/lib/Target/XCore/XCoreISelLowering.cpp @@ -150,6 +150,9 @@ XCoreTargetLowering::XCoreTargetLowering(XCoreTargetMachine &XTM) // Debug setOperationAction(ISD::DBG_STOPPOINT, MVT::Other, Expand); setOperationAction(ISD::DEBUG_LOC, MVT::Other, Expand); + + maxStoresPerMemset = 4; + maxStoresPerMemmove = maxStoresPerMemcpy = 2; } SDValue XCoreTargetLowering:: |