[llvm-commits] [llvm] r71740 - /llvm/trunk/lib/CodeGen/IfConversion.cpp
Bob Wilson
bob.wilson at apple.com
Wed May 13 16:31:33 PDT 2009
Author: bwilson
Date: Wed May 13 18:31:30 2009
New Revision: 71740
URL: http://llvm.org/viewvc/llvm-project?rev=71740&view=rev
Log:
Remove an unused variable.
Modified:
llvm/trunk/lib/CodeGen/IfConversion.cpp
Modified: llvm/trunk/lib/CodeGen/IfConversion.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/IfConversion.cpp?rev=71740&r1=71739&r2=71740&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/IfConversion.cpp (original)
+++ llvm/trunk/lib/CodeGen/IfConversion.cpp Wed May 13 18:31:30 2009
@@ -553,7 +553,6 @@
// 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 @@
// 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;
}
More information about the llvm-commits
mailing list