]> granicus.if.org Git - llvm/commitdiff
[LoopVectorize] Remove redundant assignment.
authorTilmann Scheller <t.scheller@samsung.com>
Fri, 19 Dec 2014 17:02:31 +0000 (17:02 +0000)
committerTilmann Scheller <t.scheller@samsung.com>
Fri, 19 Dec 2014 17:02:31 +0000 (17:02 +0000)
Found by the Clang static analyzer.

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

lib/Transforms/Vectorize/LoopVectorize.cpp

index 96a169d7ed9a07c3e212929ff6fc4398ab8c98ac..d0860c44c0e72a52aa25f15b3579d96b02f0fd80 100644 (file)
@@ -1216,7 +1216,6 @@ private:
     NewLoopID->replaceOperandWith(0, NewLoopID);
 
     TheLoop->setLoopID(NewLoopID);
-    LoopID = NewLoopID;
   }
 
   /// The loop these hints belong to.