Make BreakCriticalMachineEdges available as a pass that can be depended on.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43910 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson 2007-11-08 22:20:23 +00:00
parent ec8cd06555
commit d195ce1fb6
2 changed files with 5 additions and 1 deletions

View File

@ -58,6 +58,10 @@ namespace llvm {
///
extern const PassInfo *SimpleRegisterCoalescingID;
/// BreakCriticalMachineEdges pass. Breaks critical edges between
/// machine basic blocks.
extern const PassInfo *BreakCriticalMachineEdgesID;
/// TwoAddressInstruction pass - This pass reduces two-address instructions to
/// use two operands. This destroys SSA information but it is desired by
/// register allocators.

View File

@ -41,7 +41,7 @@ namespace {
"Break critical machine code edges");
}
//const PassInfo *llvm::BreakCriticalMachineEdgesID = X.getPassInfo();
const PassInfo *llvm::BreakCriticalMachineEdgesID = X.getPassInfo();
void BreakCriticalMachineEdges::splitCriticalEdge(MachineBasicBlock* src,
MachineBasicBlock* dst) {