mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +00:00
Set SchedulingForLatency to be the default scheduling preference for all.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25607 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -32,6 +32,7 @@ TargetLowering::TargetLowering(TargetMachine &tm)
|
|||||||
UseUnderscoreSetJmpLongJmp = false;
|
UseUnderscoreSetJmpLongJmp = false;
|
||||||
IntDivIsCheap = false;
|
IntDivIsCheap = false;
|
||||||
Pow2DivIsCheap = false;
|
Pow2DivIsCheap = false;
|
||||||
|
SchedPreferenceInfo = SchedulingForLatency;
|
||||||
}
|
}
|
||||||
|
|
||||||
TargetLowering::~TargetLowering() {}
|
TargetLowering::~TargetLowering() {}
|
||||||
|
@ -100,7 +100,6 @@ IA64TargetLowering::IA64TargetLowering(TargetMachine &TM)
|
|||||||
setOperationAction(ISD::STACKRESTORE, MVT::Other, Expand);
|
setOperationAction(ISD::STACKRESTORE, MVT::Other, Expand);
|
||||||
setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i64, Expand);
|
setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i64, Expand);
|
||||||
|
|
||||||
setSchedulingPreference(SchedulingForLatency);
|
|
||||||
setStackPointerRegisterToSaveRestore(IA64::r12);
|
setStackPointerRegisterToSaveRestore(IA64::r12);
|
||||||
|
|
||||||
computeRegisterProperties();
|
computeRegisterProperties();
|
||||||
|
@ -150,7 +150,6 @@ PPCTargetLowering::PPCTargetLowering(TargetMachine &TM)
|
|||||||
}
|
}
|
||||||
|
|
||||||
setSetCCResultContents(ZeroOrOneSetCCResult);
|
setSetCCResultContents(ZeroOrOneSetCCResult);
|
||||||
setSchedulingPreference(SchedulingForLatency);
|
|
||||||
setStackPointerRegisterToSaveRestore(PPC::R1);
|
setStackPointerRegisterToSaveRestore(PPC::R1);
|
||||||
|
|
||||||
computeRegisterProperties();
|
computeRegisterProperties();
|
||||||
|
@ -167,7 +167,6 @@ SparcV8TargetLowering::SparcV8TargetLowering(TargetMachine &TM)
|
|||||||
setOperationAction(ISD::STACKRESTORE , MVT::Other, Expand);
|
setOperationAction(ISD::STACKRESTORE , MVT::Other, Expand);
|
||||||
setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i32, Expand);
|
setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i32, Expand);
|
||||||
|
|
||||||
setSchedulingPreference(SchedulingForLatency);
|
|
||||||
setStackPointerRegisterToSaveRestore(V8::O6);
|
setStackPointerRegisterToSaveRestore(V8::O6);
|
||||||
|
|
||||||
computeRegisterProperties();
|
computeRegisterProperties();
|
||||||
|
@ -167,7 +167,6 @@ SparcV8TargetLowering::SparcV8TargetLowering(TargetMachine &TM)
|
|||||||
setOperationAction(ISD::STACKRESTORE , MVT::Other, Expand);
|
setOperationAction(ISD::STACKRESTORE , MVT::Other, Expand);
|
||||||
setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i32, Expand);
|
setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i32, Expand);
|
||||||
|
|
||||||
setSchedulingPreference(SchedulingForLatency);
|
|
||||||
setStackPointerRegisterToSaveRestore(V8::O6);
|
setStackPointerRegisterToSaveRestore(V8::O6);
|
||||||
|
|
||||||
computeRegisterProperties();
|
computeRegisterProperties();
|
||||||
|
Reference in New Issue
Block a user