revert r89298, which was committed without a testcase. I think
[oota-llvm.git] / 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;
 }