From f940a1a869b4fe6f857e7fd8aeb97e7b7e9b390e 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138841 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/ReleaseNotes.html | 2 + include/llvm/InitializePasses.h | 1 - include/llvm/LinkAllPasses.h | 1 - include/llvm/Transforms/Scalar.h | 7 - lib/Transforms/Scalar/CMakeLists.txt | 1 - 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 - test/Transforms/TailDup/MergeTest.ll | 27 -- test/Transforms/TailDup/PHIUpdateTest.ll | 16 - test/Transforms/TailDup/X86/if-tail-dup.ll | 49 --- test/Transforms/TailDup/basictest.ll | 20 - test/Transforms/TailDup/basictest2.ll | 15 - 21 files changed, 4 insertions(+), 645 deletions(-) delete mode 100644 lib/Transforms/Scalar/TailDuplication.cpp delete mode 100644 test/Transforms/TailDup/2003-06-24-Simpleloop.ll delete mode 100644 test/Transforms/TailDup/2003-07-22-InfiniteLoop.ll delete mode 100644 test/Transforms/TailDup/2003-08-23-InvalidatedPointers.ll delete mode 100644 test/Transforms/TailDup/2003-08-31-UnreachableBlocks.ll delete mode 100644 test/Transforms/TailDup/2004-04-01-DemoteRegToStack.ll delete mode 100644 test/Transforms/TailDup/2008-05-13-InfiniteLoop.ll delete mode 100644 test/Transforms/TailDup/2009-07-31-phicrash.ll delete mode 100644 test/Transforms/TailDup/MergeTest.ll delete mode 100644 test/Transforms/TailDup/PHIUpdateTest.ll delete mode 100644 test/Transforms/TailDup/X86/if-tail-dup.ll delete mode 100644 test/Transforms/TailDup/basictest.ll delete mode 100644 test/Transforms/TailDup/basictest2.ll diff --git a/docs/ReleaseNotes.html b/docs/ReleaseNotes.html index 6188ffd4c88..4feb907d367 100644 --- a/docs/ReleaseNotes.html +++ b/docs/ReleaseNotes.html @@ -583,6 +583,8 @@ it run faster: