diff --git a/lib/CodeGen/CMakeLists.txt b/lib/CodeGen/CMakeLists.txt index 7a20ff631e2..30392422039 100644 --- a/lib/CodeGen/CMakeLists.txt +++ b/lib/CodeGen/CMakeLists.txt @@ -99,9 +99,11 @@ add_llvm_library(LLVMCodeGen StrongPHIElimination.cpp TailDuplication.cpp TargetFrameLoweringImpl.cpp + TargetInstrInfo.cpp TargetInstrInfoImpl.cpp TargetLoweringObjectFileImpl.cpp TargetOptionsImpl.cpp + TargetRegisterInfo.cpp TargetSchedule.cpp TwoAddressInstructionPass.cpp UnreachableBlockElim.cpp diff --git a/lib/Target/TargetInstrInfo.cpp b/lib/CodeGen/TargetInstrInfo.cpp similarity index 100% rename from lib/Target/TargetInstrInfo.cpp rename to lib/CodeGen/TargetInstrInfo.cpp diff --git a/lib/Target/TargetRegisterInfo.cpp b/lib/CodeGen/TargetRegisterInfo.cpp similarity index 100% rename from lib/Target/TargetRegisterInfo.cpp rename to lib/CodeGen/TargetRegisterInfo.cpp diff --git a/lib/Target/CMakeLists.txt b/lib/Target/CMakeLists.txt index a85acaaa149..c87a33a8b99 100644 --- a/lib/Target/CMakeLists.txt +++ b/lib/Target/CMakeLists.txt @@ -1,14 +1,12 @@ add_llvm_library(LLVMTarget Mangler.cpp Target.cpp - TargetInstrInfo.cpp TargetIntrinsicInfo.cpp TargetJITInfo.cpp TargetLibraryInfo.cpp TargetLoweringObjectFile.cpp TargetMachine.cpp TargetMachineC.cpp - TargetRegisterInfo.cpp TargetSubtargetInfo.cpp TargetTransformImpl.cpp )