[llvm-commits] [llvm] r43910 - in /llvm/trunk: include/llvm/CodeGen/Passes.h lib/CodeGen/BreakCriticalMachineEdges.cpp
Owen Anderson
resistor at mac.com
Thu Nov 8 14:20:23 PST 2007
Author: resistor
Date: Thu Nov 8 16:20:23 2007
New Revision: 43910
URL: http://llvm.org/viewvc/llvm-project?rev=43910&view=rev
Log:
Make BreakCriticalMachineEdges available as a pass that can be depended on.
Modified:
llvm/trunk/include/llvm/CodeGen/Passes.h
llvm/trunk/lib/CodeGen/BreakCriticalMachineEdges.cpp
Modified: llvm/trunk/include/llvm/CodeGen/Passes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/Passes.h?rev=43910&r1=43909&r2=43910&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/Passes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/Passes.h Thu Nov 8 16:20:23 2007
@@ -58,6 +58,10 @@
///
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.
Modified: llvm/trunk/lib/CodeGen/BreakCriticalMachineEdges.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/BreakCriticalMachineEdges.cpp?rev=43910&r1=43909&r2=43910&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/BreakCriticalMachineEdges.cpp (original)
+++ llvm/trunk/lib/CodeGen/BreakCriticalMachineEdges.cpp Thu Nov 8 16:20:23 2007
@@ -41,7 +41,7 @@
"Break critical machine code edges");
}
-//const PassInfo *llvm::BreakCriticalMachineEdgesID = X.getPassInfo();
+const PassInfo *llvm::BreakCriticalMachineEdgesID = X.getPassInfo();
void BreakCriticalMachineEdges::splitCriticalEdge(MachineBasicBlock* src,
MachineBasicBlock* dst) {
More information about the llvm-commits
mailing list