diff --git a/lib/CodeGen/CMakeLists.txt b/lib/CodeGen/CMakeLists.txt index b08e7524f63..398ea88363b 100644 --- a/lib/CodeGen/CMakeLists.txt +++ b/lib/CodeGen/CMakeLists.txt @@ -136,6 +136,7 @@ add_llvm_library(LLVMCodeGen TargetPassConfig.cpp TargetRegisterInfo.cpp TargetSchedule.cpp + TargetSubtargetInfo.cpp TwoAddressInstructionPass.cpp UnreachableBlockElim.cpp VirtRegMap.cpp diff --git a/lib/Target/TargetSubtargetInfo.cpp b/lib/CodeGen/TargetSubtargetInfo.cpp similarity index 96% rename from lib/Target/TargetSubtargetInfo.cpp rename to lib/CodeGen/TargetSubtargetInfo.cpp index c3f94a99b4c..c74707d95b9 100644 --- a/lib/Target/TargetSubtargetInfo.cpp +++ b/lib/CodeGen/TargetSubtargetInfo.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// This file describes the general parts of a Subtarget. +/// \file This file describes the general parts of a Subtarget. // //===----------------------------------------------------------------------===// diff --git a/lib/Target/CMakeLists.txt b/lib/Target/CMakeLists.txt index 1805437b12f..02b030004d4 100644 --- a/lib/Target/CMakeLists.txt +++ b/lib/Target/CMakeLists.txt @@ -6,7 +6,6 @@ add_llvm_library(LLVMTarget TargetLoweringObjectFile.cpp TargetMachine.cpp TargetMachineC.cpp - TargetSubtargetInfo.cpp ADDITIONAL_HEADER_DIRS ${LLVM_MAIN_INCLUDE_DIR}/llvm/Target