summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/SelectionDAGISel.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-09-28 06:17:10 +0000
committerChris Lattner <sabre@nondot.org>2006-09-28 06:17:10 +0000
commit57f9a43c64e8c5c8b2566fb6649754c11b59b98a (patch)
tree0a6b75f1e7cc114ea807580fa56c9d3c75bfae27 /include/llvm/CodeGen/SelectionDAGISel.h
parentf308ea01d5e805ec07f479a79c753fa04541ec96 (diff)
downloadllvm-57f9a43c64e8c5c8b2566fb6649754c11b59b98a.tar.gz
llvm-57f9a43c64e8c5c8b2566fb6649754c11b59b98a.tar.bz2
llvm-57f9a43c64e8c5c8b2566fb6649754c11b59b98a.tar.xz
refactor critical edge breaking out into the SplitCritEdgesForPHIConstants method.
This is a baby step towards fixing PR925. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30643 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAGISel.h')
-rw-r--r--include/llvm/CodeGen/SelectionDAGISel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGISel.h b/include/llvm/CodeGen/SelectionDAGISel.h
index f439f21d6f..504319def6 100644
--- a/include/llvm/CodeGen/SelectionDAGISel.h
+++ b/include/llvm/CodeGen/SelectionDAGISel.h
@@ -124,6 +124,7 @@ protected:
SelectionDAG &DAG);
private:
+ void SplitCritEdgesForPHIConstants(BasicBlock *BB);
SDOperand CopyValueToVirtualRegister(SelectionDAGLowering &SDL,
Value *V, unsigned Reg);
void SelectBasicBlock(BasicBlock *BB, MachineFunction &MF,