From 8cac48e6197c573fff8e7797be34d1b6668c9a6f Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 3 Nov 2006 03:30:34 +0000 Subject: [PATCH] Remove dead variable. Fix 80 column violations. llvm-svn: 31412 --- lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 46aecb859df..b85a6b7c128 100644 --- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -176,7 +176,6 @@ namespace { bool CombineToIndexedLoadStore(SDNode *N) { SDOperand Ptr; - bool isLoad = true; if (LoadSDNode *LD = dyn_cast(N)) { Ptr = LD->getBasePtr(); } else @@ -200,7 +199,8 @@ namespace { // themselves use of loads / stores. bool OffIsAMImm = Offset.getOpcode() == ISD::Constant && - TLI.isLegalAddressImmediate(cast(Offset)->getValue()); + TLI.isLegalAddressImmediate( + cast(Offset)->getValue()); // Check for #3. if (OffIsAMImm && BasePtr.Val->use_size() > 1) { @@ -209,7 +209,7 @@ namespace { SDNode *Use = *I; if (Use == Ptr.Val) continue; - if (Use->getOpcode() == ISD::ADD || Use->getOpcode() == ISD::SUB) { + if (Use->getOpcode() == ISD::ADD || Use->getOpcode() == ISD::SUB){ for (SDNode::use_iterator II = Use->use_begin(), EE = Use->use_end(); II != EE; ++II) { SDNode *UseUse = *II;