Remove a pointless assignment. Nothing checks the value of VectorTy anymore now
authorCameron Zwarich <zwarich@apple.com>
Sat, 18 Jun 2011 05:47:45 +0000 (05:47 +0000)
committerCameron Zwarich <zwarich@apple.com>
Sat, 18 Jun 2011 05:47:45 +0000 (05:47 +0000)
unless ScalarKind is Vector.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133335 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/ScalarReplAggregates.cpp

index beef127ef950f9fb29b3155be1f7e83f7d83bdec..bb4779b912c635c51f2387fecad87d34606b9390 100644 (file)
@@ -384,7 +384,6 @@ void ConvertToScalarInfo::MergeInTypeForLoadOrStore(const Type *In,
   // Otherwise, we have a case that we can't handle with an optimized vector
   // form.  We can still turn this into a large integer.
   ScalarKind = Integer;
-  VectorTy = 0;
 }
 
 /// MergeInVectorType - Handles the vector case of MergeInTypeForLoadOrStore,