[BBVectorize] Remove two more redundant assignments.
authorTilmann Scheller <t.scheller@samsung.com>
Fri, 19 Dec 2014 17:21:38 +0000 (17:21 +0000)
committerTilmann Scheller <t.scheller@samsung.com>
Fri, 19 Dec 2014 17:21:38 +0000 (17:21 +0000)
Found by the Clang static analyzer.

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

lib/Transforms/Vectorize/BBVectorize.cpp

index 7b12c2c..a0ccf9d 100644 (file)
@@ -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<Constant *> 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