mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Simplify. Testing shows that this is not equivalent to BBI = CR.CaseBB + 1.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81124 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
875f4ae789
commit
5149852975
@ -1715,8 +1715,7 @@ bool SelectionDAGLowering::handleJTSwitchCase(CaseRec& CR,
|
|||||||
|
|
||||||
// Figure out which block is immediately after the current one.
|
// Figure out which block is immediately after the current one.
|
||||||
MachineFunction::iterator BBI = CR.CaseBB;
|
MachineFunction::iterator BBI = CR.CaseBB;
|
||||||
|
++BBI;
|
||||||
if (++BBI != FuncInfo.MF->end()) {}
|
|
||||||
|
|
||||||
const BasicBlock *LLVMBB = CR.CaseBB->getBasicBlock();
|
const BasicBlock *LLVMBB = CR.CaseBB->getBasicBlock();
|
||||||
|
|
||||||
@ -1786,8 +1785,7 @@ bool SelectionDAGLowering::handleBTSplitSwitchCase(CaseRec& CR,
|
|||||||
|
|
||||||
// Figure out which block is immediately after the current one.
|
// Figure out which block is immediately after the current one.
|
||||||
MachineFunction::iterator BBI = CR.CaseBB;
|
MachineFunction::iterator BBI = CR.CaseBB;
|
||||||
|
++BBI;
|
||||||
if (++BBI != FuncInfo.MF->end()) {}
|
|
||||||
|
|
||||||
Case& FrontCase = *CR.Range.first;
|
Case& FrontCase = *CR.Range.first;
|
||||||
Case& BackCase = *(CR.Range.second-1);
|
Case& BackCase = *(CR.Range.second-1);
|
||||||
|
Loading…
Reference in New Issue
Block a user