summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorTilmann Scheller <t.scheller@samsung.com>2014-12-19 11:29:34 +0000
committerTilmann Scheller <t.scheller@samsung.com>2014-12-19 11:29:34 +0000
commit3f7f3341b9c043eaae04ba16969d7d6230e99ea8 (patch)
tree85241d5982548fc75017bb83a24c12af9a130deb /llvm
parentfd454ec3d9a9bea510446de7f1cc7b69feb51338 (diff)
downloadbcm5719-llvm-3f7f3341b9c043eaae04ba16969d7d6230e99ea8.tar.gz
bcm5719-llvm-3f7f3341b9c043eaae04ba16969d7d6230e99ea8.zip
Remove redundant assignment.
Found with the Clang static analyzer. llvm-svn: 224570
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Analysis/MemoryDependenceAnalysis.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp b/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
index ad7242136bb..881a2565540 100644
--- a/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
+++ b/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
@@ -1145,7 +1145,6 @@ getNonLocalPointerDepFromBB(const PHITransAddr &Pointer,
// cache value will only see properly sorted cache arrays.
if (Cache && NumSortedEntries != Cache->size()) {
SortNonLocalDepInfoCache(*Cache, NumSortedEntries);
- NumSortedEntries = Cache->size();
}
// Since we bail out, the "Cache" set won't contain all of the
// results for the query. This is ok (we can still use it to accelerate
OpenPOWER on IntegriCloud