From 4edfcb88e1063b9cef439c00b948a0eae34cc45b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 21 Dec 2009 07:45:57 +0000 Subject: revert r89298, which was committed without a testcase. I think the underlying PHI node insertion issue in SSAUpdate is fixed. llvm-svn: 91821 --- llvm/lib/Transforms/Utils/LoopSimplify.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'llvm/lib/Transforms/Utils') diff --git a/llvm/lib/Transforms/Utils/LoopSimplify.cpp b/llvm/lib/Transforms/Utils/LoopSimplify.cpp index 051089bc41b..7fcc5f748a7 100644 --- a/llvm/lib/Transforms/Utils/LoopSimplify.cpp +++ b/llvm/lib/Transforms/Utils/LoopSimplify.cpp @@ -305,12 +305,6 @@ ReprocessLoop: } } - // If there are duplicate phi nodes (for example, from loop rotation), - // get rid of them. - for (Loop::block_iterator BB = L->block_begin(), E = L->block_end(); - BB != E; ++BB) - EliminateDuplicatePHINodes(*BB); - return Changed; } -- cgit v1.2.3