diff --git a/llvm/lib/LTO/CMakeLists.txt b/llvm/lib/LTO/CMakeLists.txt --- a/llvm/lib/LTO/CMakeLists.txt +++ b/llvm/lib/LTO/CMakeLists.txt @@ -2,11 +2,12 @@ Caching.cpp LTO.cpp LTOBackend.cpp - LTOModule.cpp - LTOCodeGenerator.cpp SummaryBasedOptimizations.cpp - UpdateCompilerUsed.cpp - ThinLTOCodeGenerator.cpp + + legacy/LTOCodeGenerator.cpp + legacy/LTOModule.cpp + legacy/ThinLTOCodeGenerator.cpp + legacy/UpdateCompilerUsed.cpp ADDITIONAL_HEADER_DIRS ${LLVM_MAIN_INCLUDE_DIR}/llvm/LTO diff --git a/llvm/lib/LTO/LTOCodeGenerator.cpp b/llvm/lib/LTO/legacy/LTOCodeGenerator.cpp rename from llvm/lib/LTO/LTOCodeGenerator.cpp rename to llvm/lib/LTO/legacy/LTOCodeGenerator.cpp diff --git a/llvm/lib/LTO/LTOModule.cpp b/llvm/lib/LTO/legacy/LTOModule.cpp rename from llvm/lib/LTO/LTOModule.cpp rename to llvm/lib/LTO/legacy/LTOModule.cpp diff --git a/llvm/lib/LTO/ThinLTOCodeGenerator.cpp b/llvm/lib/LTO/legacy/ThinLTOCodeGenerator.cpp rename from llvm/lib/LTO/ThinLTOCodeGenerator.cpp rename to llvm/lib/LTO/legacy/ThinLTOCodeGenerator.cpp diff --git a/llvm/lib/LTO/UpdateCompilerUsed.cpp b/llvm/lib/LTO/legacy/UpdateCompilerUsed.cpp rename from llvm/lib/LTO/UpdateCompilerUsed.cpp rename to llvm/lib/LTO/legacy/UpdateCompilerUsed.cpp