Remove the PR8954 workaround.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 11 Jan 2011 22:56:41 +0000 (22:56 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 11 Jan 2011 22:56:41 +0000 (22:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123288 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/GVN.cpp

index 014341b867d14998467b0a58b5a56f1db65cd4a4..1fd311cf98646cfdc567e1b15d6ce98f27f6fff7 100644 (file)
@@ -1753,10 +1753,6 @@ bool GVN::runOnFunction(Function& F) {
   }
 
   unsigned Iteration = 0;
-
-  // FIXME: Remove this when PR8954 is fixed.
-  DT->DT->recalculate(F);
-
   while (ShouldContinue) {
     DEBUG(dbgs() << "GVN iteration: " << Iteration << "\n");
     ShouldContinue = iterateOnFunction(F);