Remove an unused variable.
authorBob Wilson <bob.wilson@apple.com>
Wed, 13 May 2009 23:31:30 +0000 (23:31 +0000)
committerBob Wilson <bob.wilson@apple.com>
Wed, 13 May 2009 23:31:30 +0000 (23:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71740 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/IfConversion.cpp

index af496081f56dd9f12242fea25e23fab5e1657c30..87d81ecf69da03d15ad35788c2d8bad0dfdbac53 100644 (file)
@@ -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;
       }