aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/IfConversion.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-05-13 23:31:30 +0000
committerBob Wilson <bob.wilson@apple.com>2009-05-13 23:31:30 +0000
commit36c1b67f28b29174019bdbcbe65c61af8d9e2bc0 (patch)
treef30281716fb6bed3b34073bbdc9c1a589f60d58b /lib/CodeGen/IfConversion.cpp
parent4a2f20d18bce69674e96a05bfd0044b0eff2c199 (diff)
downloadexternal_llvm-36c1b67f28b29174019bdbcbe65c61af8d9e2bc0.zip
external_llvm-36c1b67f28b29174019bdbcbe65c61af8d9e2bc0.tar.gz
external_llvm-36c1b67f28b29174019bdbcbe65c61af8d9e2bc0.tar.bz2
Remove an unused variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71740 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/IfConversion.cpp')
-rw-r--r--lib/CodeGen/IfConversion.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/CodeGen/IfConversion.cpp b/lib/CodeGen/IfConversion.cpp
index af49608..87d81ec 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;
}