diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-04-08 08:07:35 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-04-08 08:07:35 +0000 |
commit | 7fba6cd3d0a9565e86f50bd3d6ac403eadbcb00c (patch) | |
tree | 8d7fe1b7783bab0a2df99d6ee13f06c0f44e695a /lib/Target/ARM/Thumb2SizeReduction.cpp | |
parent | 59889f7f496f549965764820a0150c4068c02f5b (diff) | |
download | external_llvm-7fba6cd3d0a9565e86f50bd3d6ac403eadbcb00c.zip external_llvm-7fba6cd3d0a9565e86f50bd3d6ac403eadbcb00c.tar.gz external_llvm-7fba6cd3d0a9565e86f50bd3d6ac403eadbcb00c.tar.bz2 |
ARM: Remove unused variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/Thumb2SizeReduction.cpp')
-rw-r--r-- | lib/Target/ARM/Thumb2SizeReduction.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/ARM/Thumb2SizeReduction.cpp b/lib/Target/ARM/Thumb2SizeReduction.cpp index d50f5d9..4795aae 100644 --- a/lib/Target/ARM/Thumb2SizeReduction.cpp +++ b/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) { |