From 0ff83ab9858d56fb37ea634c52eafb3de641d733 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 4 Mar 2009 19:22:30 +0000 Subject: [PATCH] this wasn't intended to be committed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66054 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/ScalarReplAggregates.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.34.1