summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-04-08 08:07:35 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-04-08 08:07:35 +0000
commitd56a324e3006255f42610259412fde51b3fdc743 (patch)
tree228f0f4bd418f569e23625fdb444db8f5e435251 /llvm/lib
parent81f8799fe3bee325ad6c8e641ad9e08b32b5b4b6 (diff)
downloadbcm5719-llvm-d56a324e3006255f42610259412fde51b3fdc743.tar.gz
bcm5719-llvm-d56a324e3006255f42610259412fde51b3fdc743.zip
ARM: Remove unused variable.
llvm-svn: 179001
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/Thumb2SizeReduction.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/Thumb2SizeReduction.cpp b/llvm/lib/Target/ARM/Thumb2SizeReduction.cpp
index d50f5d97223..4795aae12fd 100644
--- a/llvm/lib/Target/ARM/Thumb2SizeReduction.cpp
+++ b/llvm/lib/Target/ARM/Thumb2SizeReduction.cpp
@@ -926,13 +926,11 @@ bool Thumb2SizeReduce::ReduceMBB(MachineBasicBlock &MBB) {
HighLatencyCPSR = false;
// Check predecessors for the latest CPSRDef.
- bool HasBackEdges = false;
for (MachineBasicBlock::pred_iterator
I = MBB.pred_begin(), E = MBB.pred_end(); I != E; ++I) {
const MBBInfo &PInfo = BlockInfo[(*I)->getNumber()];
if (!PInfo.Visited) {
// Since blocks are visited in RPO, this must be a back-edge.
- HasBackEdges = true;
continue;
}
if (PInfo.HighLatencyCPSR) {
OpenPOWER on IntegriCloud