revert r89298, which was committed without a testcase. I think
authorChris Lattner <sabre@nondot.org>
Mon, 21 Dec 2009 07:45:57 +0000 (07:45 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 21 Dec 2009 07:45:57 +0000 (07:45 +0000)
the underlying PHI node insertion issue in SSAUpdate is fixed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91821 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Utils/LoopSimplify.cpp

index 051089bc41b9b75827cb59c42cd551db48e639ed..7fcc5f748a72e7e083437540ae191d70e6684a66 100644 (file)
@@ -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;
 }