mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-20 08:54:08 +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:
parent
acc398c195
commit
0577a22c67
@ -32,6 +32,7 @@ TargetLowering::TargetLowering(TargetMachine &tm)
|
||||
UseUnderscoreSetJmpLongJmp = false;
|
||||
IntDivIsCheap = false;
|
||||
Pow2DivIsCheap = false;
|
||||
SchedPreferenceInfo = SchedulingForLatency;
|
||||
}
|
||||
|
||||
TargetLowering::~TargetLowering() {}
|
||||
|
@ -100,7 +100,6 @@ IA64TargetLowering::IA64TargetLowering(TargetMachine &TM)
|
||||
setOperationAction(ISD::STACKRESTORE, MVT::Other, Expand);
|
||||
setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i64, Expand);
|
||||
|
||||
setSchedulingPreference(SchedulingForLatency);
|
||||
setStackPointerRegisterToSaveRestore(IA64::r12);
|
||||
|
||||
computeRegisterProperties();
|
||||
|
@ -150,7 +150,6 @@ PPCTargetLowering::PPCTargetLowering(TargetMachine &TM)
|
||||
}
|
||||
|
||||
setSetCCResultContents(ZeroOrOneSetCCResult);
|
||||
setSchedulingPreference(SchedulingForLatency);
|
||||
setStackPointerRegisterToSaveRestore(PPC::R1);
|
||||
|
||||
computeRegisterProperties();
|
||||
|
@ -167,7 +167,6 @@ SparcV8TargetLowering::SparcV8TargetLowering(TargetMachine &TM)
|
||||
setOperationAction(ISD::STACKRESTORE , MVT::Other, Expand);
|
||||
setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i32, Expand);
|
||||
|
||||
setSchedulingPreference(SchedulingForLatency);
|
||||
setStackPointerRegisterToSaveRestore(V8::O6);
|
||||
|
||||
computeRegisterProperties();
|
||||
|
@ -167,7 +167,6 @@ SparcV8TargetLowering::SparcV8TargetLowering(TargetMachine &TM)
|
||||
setOperationAction(ISD::STACKRESTORE , MVT::Other, Expand);
|
||||
setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i32, Expand);
|
||||
|
||||
setSchedulingPreference(SchedulingForLatency);
|
||||
setStackPointerRegisterToSaveRestore(V8::O6);
|
||||
|
||||
computeRegisterProperties();
|
||||
|
Loading…
x
Reference in New Issue
Block a user