From be98f3c4ec1f814aa08e3e4ef2dfdf1a65341a53 Mon Sep 17 00:00:00 2001 From: Tilmann Scheller Date: Fri, 19 Dec 2014 17:21:38 +0000 Subject: [PATCH] [BBVectorize] Remove two more redundant assignments. Found by the Clang static analyzer. llvm-svn: 224590 --- llvm/lib/Transforms/Vectorize/BBVectorize.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/llvm/lib/Transforms/Vectorize/BBVectorize.cpp b/llvm/lib/Transforms/Vectorize/BBVectorize.cpp index 7b12c2c3fa4b..a0ccf9d7b8cd 100644 --- a/llvm/lib/Transforms/Vectorize/BBVectorize.cpp +++ b/llvm/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