From 28eddf12ead589085fc9d71bf97ba8e80c0607e0 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 7 Jul 2010 15:15:27 +0000 Subject: [PATCH] Move CallingConvLower.cpp out of the SelectionDAG directory. llvm-svn: 107781 --- include/llvm/CodeGen/CallingConvLower.h | 1 - lib/CodeGen/CMakeLists.txt | 1 + lib/CodeGen/{SelectionDAG => }/CallingConvLower.cpp | 0 lib/CodeGen/SelectionDAG/CMakeLists.txt | 1 - 4 files changed, 1 insertion(+), 2 deletions(-) rename lib/CodeGen/{SelectionDAG => }/CallingConvLower.cpp (100%) diff --git a/include/llvm/CodeGen/CallingConvLower.h b/include/llvm/CodeGen/CallingConvLower.h index 71b246c0c92..552530aeb5d 100644 --- a/include/llvm/CodeGen/CallingConvLower.h +++ b/include/llvm/CodeGen/CallingConvLower.h @@ -24,7 +24,6 @@ namespace llvm { class TargetRegisterInfo; class TargetMachine; class CCState; - class SDNode; /// CCValAssign - Represent assignment of one arg/retval to a location. class CCValAssign { diff --git a/lib/CodeGen/CMakeLists.txt b/lib/CodeGen/CMakeLists.txt index 0501350de6f..ffeff1ee27a 100644 --- a/lib/CodeGen/CMakeLists.txt +++ b/lib/CodeGen/CMakeLists.txt @@ -3,6 +3,7 @@ add_llvm_library(LLVMCodeGen Analysis.cpp BranchFolding.cpp CalcSpillWeights.cpp + CallingConvLower.cpp CodePlacementOpt.cpp CriticalAntiDepBreaker.cpp DeadMachineInstructionElim.cpp diff --git a/lib/CodeGen/SelectionDAG/CallingConvLower.cpp b/lib/CodeGen/CallingConvLower.cpp similarity index 100% rename from lib/CodeGen/SelectionDAG/CallingConvLower.cpp rename to lib/CodeGen/CallingConvLower.cpp diff --git a/lib/CodeGen/SelectionDAG/CMakeLists.txt b/lib/CodeGen/SelectionDAG/CMakeLists.txt index 0cfd5e1d7e2..799988a4c86 100644 --- a/lib/CodeGen/SelectionDAG/CMakeLists.txt +++ b/lib/CodeGen/SelectionDAG/CMakeLists.txt @@ -1,5 +1,4 @@ add_llvm_library(LLVMSelectionDAG - CallingConvLower.cpp DAGCombiner.cpp FastISel.cpp FunctionLoweringInfo.cpp