summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTilmann Scheller <t.scheller@samsung.com>2014-12-19 17:02:31 +0000
committerTilmann Scheller <t.scheller@samsung.com>2014-12-19 17:02:31 +0000
commitb811030b47908fcf083be6ef6a4ad90b3e5086ca (patch)
treefc58e09de9df13f3bb80ac808d207ff2e7c0f2e7
parente24bb41bad5a635a9d0aeca81f649cc811a8027c (diff)
downloadbcm5719-llvm-b811030b47908fcf083be6ef6a4ad90b3e5086ca.tar.gz
bcm5719-llvm-b811030b47908fcf083be6ef6a4ad90b3e5086ca.zip
[LoopVectorize] Remove redundant assignment.
Found by the Clang static analyzer. llvm-svn: 224587
-rw-r--r--llvm/lib/Transforms/Vectorize/LoopVectorize.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 96a169d7ed9..d0860c44c0e 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud