summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2011-06-18 05:47:45 +0000
committerCameron Zwarich <zwarich@apple.com>2011-06-18 05:47:45 +0000
commitaab3ea244cb014beb21c112729034879a5d4e5ee (patch)
tree446ed3159dbfcf3868d1fb08b65f637e949187e0 /lib
parentc6596e2edc406298ff65d27633bd898613533c0b (diff)
downloadllvm-aab3ea244cb014beb21c112729034879a5d4e5ee.tar.gz
llvm-aab3ea244cb014beb21c112729034879a5d4e5ee.tar.bz2
llvm-aab3ea244cb014beb21c112729034879a5d4e5ee.tar.xz
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
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/Scalar/ScalarReplAggregates.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/ScalarReplAggregates.cpp b/lib/Transforms/Scalar/ScalarReplAggregates.cpp
index beef127ef9..bb4779b912 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,