diff --git a/llvm/lib/Transforms/Scalar/GVN.cpp b/llvm/lib/Transforms/Scalar/GVN.cpp index 014341b867d1..1fd311cf9864 100644 --- a/llvm/lib/Transforms/Scalar/GVN.cpp +++ b/llvm/lib/Transforms/Scalar/GVN.cpp @@ -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);