From a45c20b0492633fa346720c15a0b62ea166fd84d Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 30 Aug 2011 23:03:45 +0000 Subject: [PATCH] Remove the old tail duplication pass. It is not used and is unable to update ssa, so it has to be run really early in the pipeline. Any replacement should probably use the SSAUpdater. llvm-svn: 138841 --- llvm/docs/ReleaseNotes.html | 2 + llvm/include/llvm/InitializePasses.h | 1 - llvm/include/llvm/LinkAllPasses.h | 1 - llvm/include/llvm/Transforms/Scalar.h | 7 - llvm/lib/Transforms/Scalar/CMakeLists.txt | 1 - llvm/lib/Transforms/Scalar/Scalar.cpp | 1 - .../lib/Transforms/Scalar/TailDuplication.cpp | 373 ------------------ .../Transforms/LoopDeletion/2008-05-06-Phi.ll | 2 +- .../LoopSimplify/2003-08-15-PreheadersFail.ll | 2 +- .../TailDup/2003-06-24-Simpleloop.ll | 15 - .../TailDup/2003-07-22-InfiniteLoop.ll | 11 - .../TailDup/2003-08-23-InvalidatedPointers.ll | 29 -- .../TailDup/2003-08-31-UnreachableBlocks.ll | 17 - .../TailDup/2004-04-01-DemoteRegToStack.ll | 20 - .../TailDup/2008-05-13-InfiniteLoop.ll | 26 -- .../Transforms/TailDup/2009-07-31-phicrash.ll | 14 - llvm/test/Transforms/TailDup/MergeTest.ll | 27 -- llvm/test/Transforms/TailDup/PHIUpdateTest.ll | 16 - .../Transforms/TailDup/X86/if-tail-dup.ll | 49 --- llvm/test/Transforms/TailDup/basictest.ll | 20 - llvm/test/Transforms/TailDup/basictest2.ll | 15 - 21 files changed, 4 insertions(+), 645 deletions(-) delete mode 100644 llvm/lib/Transforms/Scalar/TailDuplication.cpp delete mode 100644 llvm/test/Transforms/TailDup/2003-06-24-Simpleloop.ll delete mode 100644 llvm/test/Transforms/TailDup/2003-07-22-InfiniteLoop.ll delete mode 100644 llvm/test/Transforms/TailDup/2003-08-23-InvalidatedPointers.ll delete mode 100644 llvm/test/Transforms/TailDup/2003-08-31-UnreachableBlocks.ll delete mode 100644 llvm/test/Transforms/TailDup/2004-04-01-DemoteRegToStack.ll delete mode 100644 llvm/test/Transforms/TailDup/2008-05-13-InfiniteLoop.ll delete mode 100644 llvm/test/Transforms/TailDup/2009-07-31-phicrash.ll delete mode 100644 llvm/test/Transforms/TailDup/MergeTest.ll delete mode 100644 llvm/test/Transforms/TailDup/PHIUpdateTest.ll delete mode 100644 llvm/test/Transforms/TailDup/X86/if-tail-dup.ll delete mode 100644 llvm/test/Transforms/TailDup/basictest.ll delete mode 100644 llvm/test/Transforms/TailDup/basictest2.ll diff --git a/llvm/docs/ReleaseNotes.html b/llvm/docs/ReleaseNotes.html index 6188ffd4c88f..4feb907d367f 100644 --- a/llvm/docs/ReleaseNotes.html +++ b/llvm/docs/ReleaseNotes.html @@ -583,6 +583,8 @@ it run faster: