mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-12-08 12:23:39 +00:00
Move ARMSelectionDAGInfo from the TargetMachine to the subtarget.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210862 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -82,7 +82,6 @@ ARMTargetMachine::ARMTargetMachine(const Target &T, StringRef TT,
|
||||
: ARMBaseTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, isLittle),
|
||||
InstrInfo(Subtarget),
|
||||
TLInfo(*this),
|
||||
TSInfo(*getDataLayout()),
|
||||
FrameLowering(Subtarget) {
|
||||
initAsmInfo();
|
||||
if (!Subtarget.hasARMOps())
|
||||
@@ -121,7 +120,6 @@ ThumbTargetMachine::ThumbTargetMachine(const Target &T, StringRef TT,
|
||||
? ((ARMBaseInstrInfo*)new Thumb2InstrInfo(Subtarget))
|
||||
: ((ARMBaseInstrInfo*)new Thumb1InstrInfo(Subtarget))),
|
||||
TLInfo(*this),
|
||||
TSInfo(*getDataLayout()),
|
||||
FrameLowering(Subtarget.hasThumb2()
|
||||
? new ARMFrameLowering(Subtarget)
|
||||
: (ARMFrameLowering*)new Thumb1FrameLowering(Subtarget)) {
|
||||
|
||||
Reference in New Issue
Block a user