summaryrefslogtreecommitdiff
path: root/lib/Target/SystemZ
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-06-06 19:04:48 +0000
committerEric Christopher <echristo@gmail.com>2014-06-06 19:04:48 +0000
commit5448320a2061faeadedc800dff9a9adf14005a72 (patch)
tree88733e4ee835d6f892b3ae04bd18693d7e61ae80 /lib/Target/SystemZ
parent5beec3aa928fa9675784e7f2f0d255792323cd19 (diff)
downloadllvm-5448320a2061faeadedc800dff9a9adf14005a72.tar.gz
llvm-5448320a2061faeadedc800dff9a9adf14005a72.tar.bz2
llvm-5448320a2061faeadedc800dff9a9adf14005a72.tar.xz
Have TargetSelectionDAGInfo take a DataLayout initializer rather than
a TargetMachine since the only thing it wants is DataLayout. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210366 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ')
-rw-r--r--lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp b/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp
index 97abee303b..528227bd3c 100644
--- a/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp
+++ b/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp
@@ -20,7 +20,7 @@ using namespace llvm;
SystemZSelectionDAGInfo::
SystemZSelectionDAGInfo(const SystemZTargetMachine &TM)
- : TargetSelectionDAGInfo(TM) {
+ : TargetSelectionDAGInfo(TM.getDataLayout()) {
}
SystemZSelectionDAGInfo::~SystemZSelectionDAGInfo() {