aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-09-27 16:58:21 +0000
committerDan Gohman <gohman@apple.com>2010-09-27 16:58:21 +0000
commit51138b3070ddbbaf74ed661f820c3229d3c11f36 (patch)
tree74c58495963a115fa26dad160ff3523c0eb96fa2
parent477268cd24f3bd49901cd3afcbf0113f74e8a6da (diff)
downloadexternal_llvm-51138b3070ddbbaf74ed661f820c3229d3c11f36.zip
external_llvm-51138b3070ddbbaf74ed661f820c3229d3c11f36.tar.gz
external_llvm-51138b3070ddbbaf74ed661f820c3229d3c11f36.tar.bz2
Delete an unused function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114841 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Transforms/Scalar/LoopStrengthReduce.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index fca7bae..a3cef7a 100644
--- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@ -645,8 +645,6 @@ public:
: NumRegs(0), AddRecCost(0), NumIVMuls(0), NumBaseAdds(0), ImmCost(0),
SetupCost(0) {}
- unsigned getNumRegs() const { return NumRegs; }
-
bool operator<(const Cost &Other) const;
void Loose();