summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/XCore
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
commit0dd8d486b395436059f828fdf4913b43006dc905 (patch)
tree974ec9fe9cfe03790b87a1638ad171373e21f9fc /llvm/lib/Target/XCore
parent9ff85e96741c9d37979c09c7ddb0185fa4c697f1 (diff)
downloadbcm5719-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.cpp3
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() {
}
OpenPOWER on IntegriCloud