Lower the threshold at which memcpy / memmove / memset stop being expanded
inline in the XCore. llvm-svn: 75906
This commit is contained in:
parent
5092f7ee93
commit
efe3f9c9f4
|
@ -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::
|
||||||
|
|
Loading…
Reference in New Issue