Revert r124518. It broke Linux self-host.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124522 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2011-01-29 02:43:04 +00:00
parent 5e6940788f
commit b0a42fdb36
13 changed files with 73 additions and 223 deletions
@@ -22,10 +22,9 @@
namespace llvm {
class AliasAnalysis;
class Instruction;
class Pass;
class ReturnInst;
class AliasAnalysis;
/// DeleteDeadBlock - Delete the specified block, which must have no
/// predecessors.
@@ -172,15 +171,7 @@ BasicBlock *SplitBlock(BasicBlock *Old, Instruction *SplitPt, Pass *P);
BasicBlock *SplitBlockPredecessors(BasicBlock *BB, BasicBlock *const *Preds,
unsigned NumPreds, const char *Suffix,
Pass *P = 0);
/// FoldReturnIntoUncondBranch - This method duplicates the specified return
/// instruction into a predecessor which ends in an unconditional branch. If
/// the return instruction returns a value defined by a PHI, propagate the
/// right value into the return. It returns the new return instruction in the
/// predecessor.
ReturnInst *FoldReturnIntoUncondBranch(ReturnInst *RI, BasicBlock *BB,
BasicBlock *Pred);
} // End llvm namespace
#endif