diff options
author | Eric Christopher <echristo@gmail.com> | 2014-06-06 19:04:48 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-06-06 19:04:48 +0000 |
commit | 0dd8d486b395436059f828fdf4913b43006dc905 (patch) | |
tree | 974ec9fe9cfe03790b87a1638ad171373e21f9fc /llvm/lib/Target/SystemZ | |
parent | 9ff85e96741c9d37979c09c7ddb0185fa4c697f1 (diff) | |
download | bcm5719-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.cpp | 2 |
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() { |