projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f5b616
)
Move the endif to the correct line so we don't have warnings about
author
Chandler Carruth
<chandlerc@gmail.com>
Wed, 20 Mar 2013 06:47:00 +0000
(06:47 +0000)
committer
Chandler Carruth
<chandlerc@gmail.com>
Wed, 20 Mar 2013 06:47:00 +0000
(06:47 +0000)
unused statistics variables.
llvm-svn: 177494
llvm/lib/Transforms/Scalar/SROA.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/Scalar/SROA.cpp
b/llvm/lib/Transforms/Scalar/SROA.cpp
index
38c9aea
..
1a9debf
100644
(file)
--- a/
llvm/lib/Transforms/Scalar/SROA.cpp
+++ b/
llvm/lib/Transforms/Scalar/SROA.cpp
@@
-1117,8
+1117,8
@@
AllocaPartitioning::AllocaPartitioning(const DataLayout &TD, AllocaInst &AI)
#if !defined(NDEBUG) || defined(LLVM_ENABLE_STATS)
for (unsigned Idx = 0, Size = Uses.size(); Idx != Size; ++Idx)
NumUses += Uses[Idx].size();
- NumAllocaPartitionUses += NumUses;
#endif
+ NumAllocaPartitionUses += NumUses;
MaxPartitionUsesPerAlloca = std::max<unsigned>(NumUses, MaxPartitionUsesPerAlloca);
}