From: Bob Wilson Date: Wed, 13 May 2009 23:31:30 +0000 (+0000) Subject: Remove an unused variable. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e19fb7de631acc4e50653926fe023d35be0293e2;p=oota-llvm.git Remove an unused variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71740 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/IfConversion.cpp b/lib/CodeGen/IfConversion.cpp index af496081f56..87d81ecf69d 100644 --- a/lib/CodeGen/IfConversion.cpp +++ b/lib/CodeGen/IfConversion.cpp @@ -553,7 +553,6 @@ void IfConverter::ScanInstructions(BBInfo &BBI) { // Then scan all the instructions. BBI.NonPredSize = 0; BBI.ClobbersPred = false; - bool SeenCondBr = false; for (MachineBasicBlock::iterator I = BBI.BB->begin(), E = BBI.BB->end(); I != E; ++I) { const TargetInstrDesc &TID = I->getDesc(); @@ -579,8 +578,6 @@ void IfConverter::ScanInstructions(BBInfo &BBI) { // Predicate modification instruction should end the block (except for // already predicated instructions and end of block branches). if (isCondBr) { - SeenCondBr = true; - // A conditional branch is not predicable, but it may be eliminated. continue; }