summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
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
commit43467d7daf6273c03ecb2419e14aeaf0fc986322 (patch)
treeda8bb895d6b8f71f73e8097c550d6c8e96a1e7c6 /llvm/lib/CodeGen
parent2371f4f70a1df274b2e1b1363928bcafa3cac210 (diff)
downloadbcm5719-llvm-43467d7daf6273c03ecb2419e14aeaf0fc986322.tar.gz
bcm5719-llvm-43467d7daf6273c03ecb2419e14aeaf0fc986322.zip
Remove an unused variable.
llvm-svn: 71740
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/IfConversion.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/IfConversion.cpp b/llvm/lib/CodeGen/IfConversion.cpp
index af496081f56..87d81ecf69d 100644
--- a/llvm/lib/CodeGen/IfConversion.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud