aboutsummaryrefslogtreecommitdiff
path: root/llvm/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
commit673b3afacd2539bc7a88ebfcf8060d92c09170c9 (patch)
treea55deaafcf24c6cb0c25b428f20c298ae860283d /llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
parent80effa415c1faf38324fbad9604535b0be4f9a3e (diff)
downloadllvm-673b3afacd2539bc7a88ebfcf8060d92c09170c9.zip
llvm-673b3afacd2539bc7a88ebfcf8060d92c09170c9.tar.gz
llvm-673b3afacd2539bc7a88ebfcf8060d92c09170c9.tar.bz2
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. llvm-svn: 211877
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp b/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
index 8cce20f..6d6d88f 100644
--- a/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
+++ b/llvm/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();
}