[llvm] fba06e3 - [LiveDebugValues][NFC] Move LiveDebugValues source for refactor

Jeremy Morse via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 22 05:39:41 PDT 2020


Author: Jeremy Morse
Date: 2020-08-22T12:58:30+01:00
New Revision: fba06e3c85aa2a5b720379ca74fb796eb4126790

URL: https://github.com/llvm/llvm-project/commit/fba06e3c85aa2a5b720379ca74fb796eb4126790
DIFF: https://github.com/llvm/llvm-project/commit/fba06e3c85aa2a5b720379ca74fb796eb4126790.diff

LOG: [LiveDebugValues][NFC] Move LiveDebugValues source for refactor

This is a pure file move of LiveDebugValues.cpp ahead of the pass being
refactored, with an experimental new implementation to follow.

The motivation for these changes can be found here:

  http://lists.llvm.org/pipermail/llvm-dev/2020-June/142368.html

And the other related changes can be found in the phabricator stack for
this revision:

Differential Revision: https://reviews.llvm.org/D83304

Added: 
    llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp

Modified: 
    llvm/lib/CodeGen/CMakeLists.txt

Removed: 
    llvm/lib/CodeGen/LiveDebugValues.cpp


################################################################################
diff  --git a/llvm/lib/CodeGen/CMakeLists.txt b/llvm/lib/CodeGen/CMakeLists.txt
index 64881c6f12d5..11ae4fee3c39 100644
--- a/llvm/lib/CodeGen/CMakeLists.txt
+++ b/llvm/lib/CodeGen/CMakeLists.txt
@@ -49,7 +49,6 @@ add_llvm_component_library(LLVMCodeGen
   LatencyPriorityQueue.cpp
   LazyMachineBlockFrequencyInfo.cpp
   LexicalScopes.cpp
-  LiveDebugValues.cpp
   LiveDebugVariables.cpp
   LiveIntervals.cpp
   LiveInterval.cpp
@@ -183,6 +182,8 @@ add_llvm_component_library(LLVMCodeGen
   WinEHPrepare.cpp
   XRayInstrumentation.cpp
 
+  LiveDebugValues/VarLocBasedImpl.cpp
+
   ADDITIONAL_HEADER_DIRS
   ${LLVM_MAIN_INCLUDE_DIR}/llvm/CodeGen
   ${LLVM_MAIN_INCLUDE_DIR}/llvm/CodeGen/PBQP

diff  --git a/llvm/lib/CodeGen/LiveDebugValues.cpp b/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp
similarity index 100%
rename from llvm/lib/CodeGen/LiveDebugValues.cpp
rename to llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp


        


More information about the llvm-commits mailing list