summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit0dd8d486b395436059f828fdf4913b43006dc905 (patch)
tree974ec9fe9cfe03790b87a1638ad171373e21f9fc /llvm/lib/Target/SystemZ
parent9ff85e96741c9d37979c09c7ddb0185fa4c697f1 (diff)
downloadbcm5719-llvm-0dd8d486b395436059f828fdf4913b43006dc905.tar.gz
bcm5719-llvm-0dd8d486b395436059f828fdf4913b43006dc905.zip
Have TargetSelectionDAGInfo take a DataLayout initializer rather than
a TargetMachine since the only thing it wants is DataLayout. llvm-svn: 210366
Diffstat (limited to 'llvm/lib/Target/SystemZ')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp b/llvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp
index 97abee303b0..528227bd3c0 100644
--- a/llvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp
+++ b/llvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp
@@ -20,7 +20,7 @@ using namespace llvm;
SystemZSelectionDAGInfo::
SystemZSelectionDAGInfo(const SystemZTargetMachine &TM)
- : TargetSelectionDAGInfo(TM) {
+ : TargetSelectionDAGInfo(TM.getDataLayout()) {
}
SystemZSelectionDAGInfo::~SystemZSelectionDAGInfo() {
OpenPOWER on IntegriCloud