mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-23 19:17:17 +00:00
Make XCoreSelectionDAGInfo take a DataLayout since it only needs
that information. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212146 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
62399746cc
commit
9223ec2cd9
@ -16,8 +16,8 @@ using namespace llvm;
|
||||
|
||||
#define DEBUG_TYPE "xcore-selectiondag-info"
|
||||
|
||||
XCoreSelectionDAGInfo::XCoreSelectionDAGInfo(const XCoreTargetMachine &TM)
|
||||
: TargetSelectionDAGInfo(TM.getDataLayout()) {}
|
||||
XCoreSelectionDAGInfo::XCoreSelectionDAGInfo(const DataLayout &DL)
|
||||
: TargetSelectionDAGInfo(&DL) {}
|
||||
|
||||
XCoreSelectionDAGInfo::~XCoreSelectionDAGInfo() {
|
||||
}
|
||||
|
@ -22,7 +22,7 @@ class XCoreTargetMachine;
|
||||
|
||||
class XCoreSelectionDAGInfo : public TargetSelectionDAGInfo {
|
||||
public:
|
||||
explicit XCoreSelectionDAGInfo(const XCoreTargetMachine &TM);
|
||||
explicit XCoreSelectionDAGInfo(const DataLayout &DL);
|
||||
~XCoreSelectionDAGInfo();
|
||||
|
||||
SDValue
|
||||
|
@ -31,7 +31,7 @@ XCoreTargetMachine::XCoreTargetMachine(const Target &T, StringRef TT,
|
||||
InstrInfo(),
|
||||
FrameLowering(Subtarget),
|
||||
TLInfo(*this),
|
||||
TSInfo(*this) {
|
||||
TSInfo(DL) {
|
||||
initAsmInfo();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user