From: Cameron Zwarich Date: Sat, 18 Jun 2011 05:47:45 +0000 (+0000) Subject: Remove a pointless assignment. Nothing checks the value of VectorTy anymore now X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=aab3ea244cb014beb21c112729034879a5d4e5ee;p=oota-llvm.git Remove a pointless assignment. Nothing checks the value of VectorTy anymore now unless ScalarKind is Vector. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133335 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/ScalarReplAggregates.cpp b/lib/Transforms/Scalar/ScalarReplAggregates.cpp index beef127ef95..bb4779b912c 100644 --- a/lib/Transforms/Scalar/ScalarReplAggregates.cpp +++ b/lib/Transforms/Scalar/ScalarReplAggregates.cpp @@ -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,