summaryrefslogtreecommitdiff
path: root/lib/Target/SystemZ/SystemZTargetMachine.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-06-27 05:26:28 +0000
committerEric Christopher <echristo@gmail.com>2014-06-27 05:26:28 +0000
commita4e84da0b442bf9413befd6647ed405c2b4a2d96 (patch)
tree08d39f04279118db074d640337622b4e3456c95d /lib/Target/SystemZ/SystemZTargetMachine.cpp
parentba39a59cd03f0e994f183eb37d13162f98c99621 (diff)
downloadllvm-a4e84da0b442bf9413befd6647ed405c2b4a2d96.tar.gz
llvm-a4e84da0b442bf9413befd6647ed405c2b4a2d96.tar.bz2
llvm-a4e84da0b442bf9413befd6647ed405c2b4a2d96.tar.xz
Have SystemZSelectionDAGInfo constructor take a DataLayout rather
than a target machine since it doesn't need anything past the DataLayout. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211870 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 1fca067ad2..8cce20f038 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(*this),
+ InstrInfo(*this), TLInfo(*this), TSInfo(DL),
FrameLowering(*this, Subtarget) {
initAsmInfo();
}