1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

TargetSubtargetInfo: Move implementation to lib/CodeGen; NFC

TargetSubtargetInfo is filled with CodeGen specific interfaces nowadays
(getInstrInfo(), getFrameLowering(), getSelectionDAGInfo()) most of the
tuning flags like enablePostRAScheduler(), getAntiDepBreakMode(),
enableRALocalReassignment(), ... also do not seem to be universal enough
to make sense outside of CodeGen.

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

llvm-svn: 287708
This commit is contained in:
Matthias Braun 2016-11-22 22:09:03 +00:00
parent bfd2798cf9
commit 882a081504
3 changed files with 2 additions and 2 deletions

View File

@ -136,6 +136,7 @@ add_llvm_library(LLVMCodeGen
TargetPassConfig.cpp
TargetRegisterInfo.cpp
TargetSchedule.cpp
TargetSubtargetInfo.cpp
TwoAddressInstructionPass.cpp
UnreachableBlockElim.cpp
VirtRegMap.cpp

View File

@ -7,7 +7,7 @@
//
//===----------------------------------------------------------------------===//
//
// This file describes the general parts of a Subtarget.
/// \file This file describes the general parts of a Subtarget.
//
//===----------------------------------------------------------------------===//

View File

@ -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