mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
Have AArch64SelectionDAGInfo take a DataLayout parameter rather
than a TargetMachine. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210554 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e3a06bcd8a
commit
b8dca33a05
@ -16,8 +16,8 @@ using namespace llvm;
|
||||
|
||||
#define DEBUG_TYPE "aarch64-selectiondag-info"
|
||||
|
||||
AArch64SelectionDAGInfo::AArch64SelectionDAGInfo(const TargetMachine &TM)
|
||||
: TargetSelectionDAGInfo(TM.getDataLayout()) {}
|
||||
AArch64SelectionDAGInfo::AArch64SelectionDAGInfo(const DataLayout *DL)
|
||||
: TargetSelectionDAGInfo(DL) {}
|
||||
|
||||
AArch64SelectionDAGInfo::~AArch64SelectionDAGInfo() {}
|
||||
|
||||
|
@ -20,7 +20,7 @@ namespace llvm {
|
||||
|
||||
class AArch64SelectionDAGInfo : public TargetSelectionDAGInfo {
|
||||
public:
|
||||
explicit AArch64SelectionDAGInfo(const TargetMachine &TM);
|
||||
explicit AArch64SelectionDAGInfo(const DataLayout *DL);
|
||||
~AArch64SelectionDAGInfo();
|
||||
|
||||
SDValue EmitTargetCodeForMemset(SelectionDAG &DAG, SDLoc dl, SDValue Chain,
|
||||
|
@ -78,7 +78,7 @@ AArch64TargetMachine::AArch64TargetMachine(const Target &T, StringRef TT,
|
||||
bool LittleEndian)
|
||||
: LLVMTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL),
|
||||
Subtarget(TT, CPU, FS, LittleEndian),
|
||||
InstrInfo(Subtarget), TLInfo(*this), TSInfo(*this) {
|
||||
InstrInfo(Subtarget), TLInfo(*this), TSInfo(getDataLayout()) {
|
||||
initAsmInfo();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user