summaryrefslogtreecommitdiff
path: root/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp
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/AArch64/AArch64SelectionDAGInfo.cpp
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/AArch64/AArch64SelectionDAGInfo.cpp')
-rw-r--r--lib/Target/AArch64/AArch64SelectionDAGInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp b/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp
index 5c65b750ee..0740b3d7e6 100644
--- a/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp
+++ b/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp
@@ -17,7 +17,7 @@ using namespace llvm;
#define DEBUG_TYPE "aarch64-selectiondag-info"
AArch64SelectionDAGInfo::AArch64SelectionDAGInfo(const TargetMachine &TM)
- : TargetSelectionDAGInfo(TM),
+ : TargetSelectionDAGInfo(TM.getDataLayout()),
Subtarget(&TM.getSubtarget<AArch64Subtarget>()) {}
AArch64SelectionDAGInfo::~AArch64SelectionDAGInfo() {}