search for: fastemitbranch

Displaying 1 result from an estimated 1 matches for "fastemitbranch".

2017 Jul 25
2
[Debug] Elide the unconditional branch instructions
...r label %for.inc, !dbg !23; will be deleted and we can not get right debug behavior. So I propose one changeset, if we have debug information, we don't eliminate the unconditional branch instruction, otherwise we eliminate it. /// (fall-through) successor, and update the CFG. void FastISel::fastEmitBranch(MachineBasicBlock *MSucc, const DebugLoc &DbgLoc) { - if (FuncInfo.MBB->getBasicBlock()->size() > 1 && - FuncInfo.MBB->isLayoutSuccessor(MSucc)) { - // For more accurate line information if this is the only instruction - // in the b...