[llvm-commits] [llvm] r66054 - /llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp

Chris Lattner sabre at nondot.org
Wed Mar 4 11:22:30 PST 2009


Author: lattner
Date: Wed Mar  4 13:22:30 2009
New Revision: 66054

URL: http://llvm.org/viewvc/llvm-project?rev=66054&view=rev
Log:
this wasn't intended to be committed.

Modified:
    llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp?rev=66054&r1=66053&r2=66054&view=diff

==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp Wed Mar  4 13:22:30 2009
@@ -287,8 +287,7 @@
     const Type *VectorTy = 0;
     bool HadAVector = false;
     if (CanConvertToScalar(AI, IsNotTrivial, VectorTy, HadAVector, 
-                           0, unsigned(AllocaSize)) && IsNotTrivial &&
-        AllocaSize <= 128) {
+                           0, unsigned(AllocaSize)) && IsNotTrivial) {
       AllocaInst *NewAI;
       // If we were able to find a vector type that can handle this with
       // insert/extract elements, and if there was at least one use that had





More information about the llvm-commits mailing list