summaryrefslogtreecommitdiff
path: root/lib/Target/SystemZ/SystemZTargetMachine.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-06-27 07:01:17 +0000
committerEric Christopher <echristo@gmail.com>2014-06-27 07:01:17 +0000
commitc6bf2379c1a7ed1d468b76683dc670b85e79aadd (patch)
tree3f82e9e2a7f3ba7b790ead2dda11a585f60ea523 /lib/Target/SystemZ/SystemZTargetMachine.cpp
parent0263debd04a3a827ac0e11968082d1c6fe0a9902 (diff)
downloadllvm-c6bf2379c1a7ed1d468b76683dc670b85e79aadd.tar.gz
llvm-c6bf2379c1a7ed1d468b76683dc670b85e79aadd.tar.bz2
llvm-c6bf2379c1a7ed1d468b76683dc670b85e79aadd.tar.xz
Remove target machine caching from SystemZInstrInfo and
SystemZRegisterInfo and replace it with the subtarget as that's all they needed in the first place. Update all uses and calls accordingly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211877 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZTargetMachine.cpp')
-rw-r--r--lib/Target/SystemZ/SystemZTargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SystemZ/SystemZTargetMachine.cpp b/lib/Target/SystemZ/SystemZTargetMachine.cpp
index 8cce20f038..6d6d88f959 100644
--- a/lib/Target/SystemZ/SystemZTargetMachine.cpp
+++ b/lib/Target/SystemZ/SystemZTargetMachine.cpp
@@ -31,7 +31,7 @@ SystemZTargetMachine::SystemZTargetMachine(const Target &T, StringRef TT,
// 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(*this), TLInfo(*this), TSInfo(DL),
+ InstrInfo(Subtarget), TLInfo(*this), TSInfo(DL),
FrameLowering(*this, Subtarget) {
initAsmInfo();
}