Factor some code into a new FoldSingleEntryPHINodes method.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60501 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2008-12-03 19:44:02 +00:00
parent e96cc775e4
commit 29874e0dc6
6 changed files with 37 additions and 24 deletions

View File

@@ -56,7 +56,7 @@ void RecursivelyDeleteTriviallyDeadInstructions(Value *V,
SmallVectorImpl<Instruction*> *DeadInst = 0);
//===----------------------------------------------------------------------===//
// Control Flow Graph Restructuring...
// Control Flow Graph Restructuring.
//
/// MergeBasicBlockIntoOnlyPred - BB is a block with one predecessor and its