summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-07-01 20:18:59 +0000
committerEric Christopher <echristo@gmail.com>2014-07-01 20:18:59 +0000
commitf1bd22dfa4ef383c4a6951a3d5e10c38b8e86fa1 (patch)
treeb4dfa17f47b373f1f8ae687ebc71d0c2b2c440d6 /llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
parent6876b3bcffaac2b78e228199d94553989d82f9b8 (diff)
downloadbcm5719-llvm-f1bd22dfa4ef383c4a6951a3d5e10c38b8e86fa1.tar.gz
bcm5719-llvm-f1bd22dfa4ef383c4a6951a3d5e10c38b8e86fa1.zip
Remove the use and initialization of the target machine and subtarget
from SystemZFrameLowering. llvm-svn: 212123
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp18
1 files changed, 8 insertions, 10 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp b/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
index 6d6d88f959a..f2e8b337d9f 100644
--- a/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
+++ b/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
@@ -22,17 +22,15 @@ extern "C" void LLVMInitializeSystemZTarget() {
SystemZTargetMachine::SystemZTargetMachine(const Target &T, StringRef TT,
StringRef CPU, StringRef FS,
const TargetOptions &Options,
- Reloc::Model RM,
- CodeModel::Model CM,
+ Reloc::Model RM, CodeModel::Model CM,
CodeGenOpt::Level OL)
- : LLVMTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL),
- Subtarget(TT, CPU, FS),
- // Make sure that global data has at least 16 bits of alignment by default,
- // so that we can refer to it using LARL. We don't have any special
- // requirements for stack variables though.
- DL("E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-a:8:16-n32:64"),
- InstrInfo(Subtarget), TLInfo(*this), TSInfo(DL),
- FrameLowering(*this, Subtarget) {
+ : LLVMTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL),
+ Subtarget(TT, CPU, FS),
+ // Make sure that global data has at least 16 bits of alignment by
+ // default, so that we can refer to it using LARL. We don't have any
+ // special requirements for stack variables though.
+ DL("E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-a:8:16-n32:64"),
+ InstrInfo(Subtarget), TLInfo(*this), TSInfo(DL), FrameLowering() {
initAsmInfo();
}
OpenPOWER on IntegriCloud