[llvm-commits] [llvm] r75906 - /llvm/trunk/lib/Target/XCore/XCoreISelLowering.cpp

Richard Osborne richard at xmos.com
Thu Jul 16 05:41:54 PDT 2009


Author: friedgold
Date: Thu Jul 16 07:41:34 2009
New Revision: 75906

URL: http://llvm.org/viewvc/llvm-project?rev=75906&view=rev
Log:
Lower the threshold at which memcpy / memmove / memset stop being expanded
inline in the XCore.

Modified:
    llvm/trunk/lib/Target/XCore/XCoreISelLowering.cpp

Modified: llvm/trunk/lib/Target/XCore/XCoreISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/XCore/XCoreISelLowering.cpp?rev=75906&r1=75905&r2=75906&view=diff

==============================================================================
--- llvm/trunk/lib/Target/XCore/XCoreISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/XCore/XCoreISelLowering.cpp Thu Jul 16 07:41:34 2009
@@ -150,6 +150,9 @@
   // Debug
   setOperationAction(ISD::DBG_STOPPOINT, MVT::Other, Expand);
   setOperationAction(ISD::DEBUG_LOC, MVT::Other, Expand);
+
+  maxStoresPerMemset = 4;
+  maxStoresPerMemmove = maxStoresPerMemcpy = 2;
 }
 
 SDValue XCoreTargetLowering::





More information about the llvm-commits mailing list