[llvm-commits] [llvm] r144551 - /llvm/trunk/lib/Target/PTX/PTXISelLowering.cpp
Justin Holewinski
justin.holewinski at gmail.com
Mon Nov 14 10:58:20 PST 2011
Author: jholewinski
Date: Mon Nov 14 12:58:20 2011
New Revision: 144551
URL: http://llvm.org/viewvc/llvm-project?rev=144551&view=rev
Log:
PTX: Let LLVM use loads/stores for all mem* intrinsics, instead of relying on custom implementations.
Modified:
llvm/trunk/lib/Target/PTX/PTXISelLowering.cpp
Modified: llvm/trunk/lib/Target/PTX/PTXISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PTX/PTXISelLowering.cpp?rev=144551&r1=144550&r2=144551&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PTX/PTXISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/PTX/PTXISelLowering.cpp Mon Nov 14 12:58:20 2011
@@ -47,6 +47,11 @@
setBooleanVectorContents(ZeroOrOneBooleanContent); // FIXME: Is this correct?
setMinFunctionAlignment(2);
+ // Let LLVM use loads/stores for all mem* operations
+ maxStoresPerMemcpy = 4096;
+ maxStoresPerMemmove = 4096;
+ maxStoresPerMemset = 4096;
+
////////////////////////////////////
/////////// Expansion //////////////
////////////////////////////////////
More information about the llvm-commits
mailing list