[llvm-commits] [llvm] r132938 - /llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp
Cameron Zwarich
zwarich at apple.com
Mon Jun 13 14:44:38 PDT 2011
Author: zwarich
Date: Mon Jun 13 16:44:38 2011
New Revision: 132938
URL: http://llvm.org/viewvc/llvm-project?rev=132938&view=rev
Log:
Remove a vacuous check.
Modified:
llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp?rev=132938&r1=132937&r2=132938&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/ScalarReplAggregates.cpp Mon Jun 13 16:44:38 2011
@@ -289,7 +289,7 @@
// 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.
More information about the llvm-commits
mailing list