From: Chris Lattner Date: Wed, 4 Mar 2009 19:22:30 +0000 (+0000) Subject: this wasn't intended to be committed. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0ff83ab9858d56fb37ea634c52eafb3de641d733;p=oota-llvm.git this wasn't intended to be committed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66054 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/ScalarReplAggregates.cpp b/lib/Transforms/Scalar/ScalarReplAggregates.cpp index 0164cfc8592..b3338676ce3 100644 --- a/lib/Transforms/Scalar/ScalarReplAggregates.cpp +++ b/lib/Transforms/Scalar/ScalarReplAggregates.cpp @@ -287,8 +287,7 @@ bool SROA::performScalarRepl(Function &F) { 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