summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-06-12 20:54:11 +0000
committerEric Christopher <echristo@gmail.com>2014-06-12 20:54:11 +0000
commitd104c31fc0b62dca30debb8a4647aea44eb79ec9 (patch)
tree7bac44e44afbbb2395646e711893db5b9c5af8a8 /llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
parentb03127d8a0b7875ed158a49cfaf1b8e0bb99638b (diff)
downloadbcm5719-llvm-d104c31fc0b62dca30debb8a4647aea44eb79ec9.tar.gz
bcm5719-llvm-d104c31fc0b62dca30debb8a4647aea44eb79ec9.zip
Move PPCFrameLowering into PPCSubtarget from PPCTargetMachine. Use
the initializeSubtargetDependencies code to obtain an initialized subtarget and migrate a couple of subtarget using functions to the .cpp file to avoid circular includes. llvm-svn: 210822
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetMachine.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
index 2e55a76515f..40465401b5c 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
@@ -78,8 +78,7 @@ PPCTargetMachine::PPCTargetMachine(const Target &T, StringRef TT, StringRef CPU,
CodeGenOpt::Level OL, bool is64Bit)
: LLVMTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL),
Subtarget(TT, CPU, FS, is64Bit, OL), DL(getDataLayoutString(Subtarget)),
- InstrInfo(*this), FrameLowering(Subtarget), JITInfo(*this, is64Bit),
- TLInfo(*this), TSInfo(*this) {
+ InstrInfo(*this), JITInfo(*this, is64Bit), TLInfo(*this), TSInfo(*this) {
initAsmInfo();
}
OpenPOWER on IntegriCloud