summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-01-05 17:31:22 +0000
committerDevang Patel <dpatel@apple.com>2009-01-05 17:31:22 +0000
commit56a8bb670f9eb91416e867dd4f8670547497fc27 (patch)
tree409f18068593ba69f6ea2749bfefa31c7f2edac0 /llvm/lib/CodeGen/SelectionDAG
parent1d59d7843cb1f9d0e513be14f6f45b53ba3d7cbb (diff)
downloadbcm5719-llvm-56a8bb670f9eb91416e867dd4f8670547497fc27.tar.gz
bcm5719-llvm-56a8bb670f9eb91416e867dd4f8670547497fc27.zip
squash warnings.
llvm-svn: 61707
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
index 3daa79ed71d..4f17164ce6a 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
@@ -2019,6 +2019,7 @@ void SelectionDAGLowering::visitSwitch(SwitchInst &SI) {
size_t numCmps = Clusterify(Cases, SI);
DEBUG(errs() << "Clusterify finished. Total clusters: " << Cases.size()
<< ". Total compares: " << numCmps << '\n');
+ numCmps = 0;
// Get the Value to be switched on and default basic blocks, which will be
// inserted into CaseBlock records, representing basic blocks in the binary
OpenPOWER on IntegriCloud