From: Tilmann Scheller Date: Fri, 19 Dec 2014 17:02:31 +0000 (+0000) Subject: [LoopVectorize] Remove redundant assignment. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b8b0b8f0a836e951f0f1ebf790b65b4ec4c732c4;p=llvm [LoopVectorize] Remove redundant assignment. Found by the Clang static analyzer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224587 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp index 96a169d7ed9..d0860c44c0e 100644 --- a/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -1216,7 +1216,6 @@ private: NewLoopID->replaceOperandWith(0, NewLoopID); TheLoop->setLoopID(NewLoopID); - LoopID = NewLoopID; } /// The loop these hints belong to.