aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-04 19:22:30 +0000
committerChris Lattner <sabre@nondot.org>2009-03-04 19:22:30 +0000
commit0ff83ab9858d56fb37ea634c52eafb3de641d733 (patch)
tree8de4b8e94f9819c953e9bf87b32b7436eba451a1 /lib
parent1541e0f7da2de6ae84434060df81e93b64000924 (diff)
this wasn't intended to be committed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66054 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/Scalar/ScalarReplAggregates.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/ScalarReplAggregates.cpp b/lib/Transforms/Scalar/ScalarReplAggregates.cpp
index 0164cfc859..b3338676ce 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