mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Address comments on last patch:
- Loosen the restrictions when checking of it branches to a landing pad. - Make the loop more efficient by checking the '.insert' return value. - Do cheaper checks first. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91101 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -327,9 +327,9 @@ public:
|
||||
/// 'Old', change the code and CFG so that it branches to 'New' instead.
|
||||
void ReplaceUsesOfBlockWith(MachineBasicBlock *Old, MachineBasicBlock *New);
|
||||
|
||||
/// BranchesToLandingPad - The basic block branches only to a landing pad or
|
||||
/// to another basic block which branches only to a landing pad. No other
|
||||
/// instructions are present other than the unconditional branch.
|
||||
/// BranchesToLandingPad - The basic block is a landing pad or branches only
|
||||
/// to a landing pad. No other instructions are present other than the
|
||||
/// unconditional branch.
|
||||
bool BranchesToLandingPad(const MachineBasicBlock *MBB) const;
|
||||
|
||||
/// CorrectExtraCFGEdges - Various pieces of code can cause excess edges in
|
||||
|
Reference in New Issue
Block a user