Make BreakCriticalMachineEdges available as a pass that can be depended on.
authorOwen Anderson <resistor@mac.com>
Thu, 8 Nov 2007 22:20:23 +0000 (22:20 +0000)
committerOwen Anderson <resistor@mac.com>
Thu, 8 Nov 2007 22:20:23 +0000 (22:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43910 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/Passes.h
lib/CodeGen/BreakCriticalMachineEdges.cpp

index 5e93525ab479b104dd173488c4edae7360e8378c..89e8ba9b37a0f4a0d24f35143fd4e59bd60abc0e 100644 (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.
index e381abc456109951426fd2d7989d646cfeedb3ff..ece1786eb5d4e7fabaf8cf8412359128e7baef96 100644 (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) {