diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-03-04 19:22:30 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-03-04 19:22:30 +0000 |
| commit | b5b0c87be6fae3d68077978a2357a9f4c05e887d (patch) | |
| tree | 1470085fa55fb070c97b20f5536ad512a87a11f3 /llvm/lib/Transforms | |
| parent | 5c204c92a4372956ad8a2397f82bd06e9983657c (diff) | |
| download | bcm5719-llvm-b5b0c87be6fae3d68077978a2357a9f4c05e887d.tar.gz bcm5719-llvm-b5b0c87be6fae3d68077978a2357a9f4c05e887d.zip | |
this wasn't intended to be committed.
llvm-svn: 66054
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp b/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp index 0164cfc8592..b3338676ce3 100644 --- a/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp +++ b/llvm/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 |

