mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-27 14:24:40 +00:00
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:
@ -58,6 +58,10 @@ namespace llvm {
|
|||||||
///
|
///
|
||||||
extern const PassInfo *SimpleRegisterCoalescingID;
|
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
|
/// TwoAddressInstruction pass - This pass reduces two-address instructions to
|
||||||
/// use two operands. This destroys SSA information but it is desired by
|
/// use two operands. This destroys SSA information but it is desired by
|
||||||
/// register allocators.
|
/// register allocators.
|
||||||
|
@ -41,7 +41,7 @@ namespace {
|
|||||||
"Break critical machine code edges");
|
"Break critical machine code edges");
|
||||||
}
|
}
|
||||||
|
|
||||||
//const PassInfo *llvm::BreakCriticalMachineEdgesID = X.getPassInfo();
|
const PassInfo *llvm::BreakCriticalMachineEdgesID = X.getPassInfo();
|
||||||
|
|
||||||
void BreakCriticalMachineEdges::splitCriticalEdge(MachineBasicBlock* src,
|
void BreakCriticalMachineEdges::splitCriticalEdge(MachineBasicBlock* src,
|
||||||
MachineBasicBlock* dst) {
|
MachineBasicBlock* dst) {
|
||||||
|
Reference in New Issue
Block a user