summaryrefslogtreecommitdiff
path: root/lib/Target/Sparc
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/Sparc
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/Sparc')
-rw-r--r--lib/Target/Sparc/SparcSelectionDAGInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Sparc/SparcSelectionDAGInfo.cpp b/lib/Target/Sparc/SparcSelectionDAGInfo.cpp
index eb36d2940b..c2b897c608 100644
--- a/lib/Target/Sparc/SparcSelectionDAGInfo.cpp
+++ b/lib/Target/Sparc/SparcSelectionDAGInfo.cpp
@@ -17,7 +17,7 @@ using namespace llvm;
#define DEBUG_TYPE "sparc-selectiondag-info"
SparcSelectionDAGInfo::SparcSelectionDAGInfo(const SparcTargetMachine &TM)
- : TargetSelectionDAGInfo(TM) {
+ : TargetSelectionDAGInfo(TM.getDataLayout()) {
}
SparcSelectionDAGInfo::~SparcSelectionDAGInfo() {