Lower the threshold at which memcpy / memmove / memset stop being expanded

inline in the XCore.

llvm-svn: 75906
This commit is contained in:
Richard Osborne 2009-07-16 12:41:34 +00:00
parent 5092f7ee93
commit efe3f9c9f4
1 changed files with 3 additions and 0 deletions

View File

@ -150,6 +150,9 @@ XCoreTargetLowering::XCoreTargetLowering(XCoreTargetMachine &XTM)
// Debug // Debug
setOperationAction(ISD::DBG_STOPPOINT, MVT::Other, Expand); setOperationAction(ISD::DBG_STOPPOINT, MVT::Other, Expand);
setOperationAction(ISD::DEBUG_LOC, MVT::Other, Expand); setOperationAction(ISD::DEBUG_LOC, MVT::Other, Expand);
maxStoresPerMemset = 4;
maxStoresPerMemmove = maxStoresPerMemcpy = 2;
} }
SDValue XCoreTargetLowering:: SDValue XCoreTargetLowering::