projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2b649d
)
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177494
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/SROA.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/SROA.cpp
b/lib/Transforms/Scalar/SROA.cpp
index 38c9aead4bdd27233a5cb0840f3310c950a9fc1d..1a9debfc8a85f6b28d29eb30d067875eb4cf617f 100644
(file)
--- a/
lib/Transforms/Scalar/SROA.cpp
+++ b/
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);
}