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