From: Tilmann Scheller Date: Fri, 19 Dec 2014 17:21:38 +0000 (+0000) Subject: [BBVectorize] Remove two more redundant assignments. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=409585877a7f418a8a5041e1b435fbfda4801742 [BBVectorize] Remove two more redundant assignments. Found by the Clang static analyzer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224590 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Vectorize/BBVectorize.cpp b/lib/Transforms/Vectorize/BBVectorize.cpp index 7b12c2c3fa4..a0ccf9d7b8c 100644 --- a/lib/Transforms/Vectorize/BBVectorize.cpp +++ b/lib/Transforms/Vectorize/BBVectorize.cpp @@ -2609,7 +2609,6 @@ namespace { true, o, 1)); NewI1->insertBefore(IBeforeJ ? J : I); I1 = NewI1; - I1T = I2T; I1Elem = I2Elem; } else if (I1Elem > I2Elem) { std::vector Mask(I1Elem); @@ -2626,7 +2625,6 @@ namespace { true, o, 1)); NewI2->insertBefore(IBeforeJ ? J : I); I2 = NewI2; - I2T = I1T; } // Now that both I1 and I2 are the same length we can shuffle them