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/XCore | |
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/XCore')
-rw-r--r-- | llvm/lib/Target/XCore/XCoreSelectionDAGInfo.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/XCore/XCoreSelectionDAGInfo.cpp b/llvm/lib/Target/XCore/XCoreSelectionDAGInfo.cpp index 5a6bbe7b1d3..b72c520d84a 100644 --- a/llvm/lib/Target/XCore/XCoreSelectionDAGInfo.cpp +++ b/llvm/lib/Target/XCore/XCoreSelectionDAGInfo.cpp @@ -17,8 +17,7 @@ using namespace llvm; #define DEBUG_TYPE "xcore-selectiondag-info" XCoreSelectionDAGInfo::XCoreSelectionDAGInfo(const XCoreTargetMachine &TM) - : TargetSelectionDAGInfo(TM) { -} + : TargetSelectionDAGInfo(TM.getDataLayout()) {} XCoreSelectionDAGInfo::~XCoreSelectionDAGInfo() { } |