projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff4149b
)
Lower the threshold at which memcpy / memmove / memset stop being expanded
author
Richard Osborne
<richard@xmos.com>
Thu, 16 Jul 2009 12:41:34 +0000
(12:41 +0000)
committer
Richard Osborne
<richard@xmos.com>
Thu, 16 Jul 2009 12:41:34 +0000
(12:41 +0000)
inline in the XCore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75906
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/XCore/XCoreISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/XCore/XCoreISelLowering.cpp
b/lib/Target/XCore/XCoreISelLowering.cpp
index 7afc39e5e4b8b6cd8bf26f24ef6f2cbe8514d213..0f503bc7a64416ac1f454dec051950970cd64c93 100644
(file)
--- 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::