diff options
author | Cameron Zwarich <zwarich@apple.com> | 2011-06-13 21:44:38 +0000 |
---|---|---|
committer | Cameron Zwarich <zwarich@apple.com> | 2011-06-13 21:44:38 +0000 |
commit | 1bfab48edb465436843a627dacd8803dfd73f6da (patch) | |
tree | 8a67a093ea09762aa4fe92e0cb1ca04ebf2afbd9 | |
parent | 5e9a0be4b32aada0f0f09da48026672802d41895 (diff) | |
download | bcm5719-llvm-1bfab48edb465436843a627dacd8803dfd73f6da.tar.gz bcm5719-llvm-1bfab48edb465436843a627dacd8803dfd73f6da.zip |
Remove a vacuous check.
llvm-svn: 132938
-rw-r--r-- | llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp b/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp index 5644b0e9096..ed3cced4339 100644 --- a/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp +++ b/llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp @@ -289,7 +289,7 @@ AllocaInst *ConvertToScalarInfo::TryConvert(AllocaInst *AI) { // we just get a lot of insert/extracts. If at least one vector is // involved, then we probably really do have a union of vector/array. const Type *NewTy; - if (ScalarKind != Integer && VectorTy && HadAVector) { + if (VectorTy && HadAVector) { DEBUG(dbgs() << "CONVERT TO VECTOR: " << *AI << "\n TYPE = " << *VectorTy << '\n'); NewTy = VectorTy; // Use the vector type. |