mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-06 20:32:19 +00:00
X86 prefer scheduling for reduced register pressure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25602 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cd1419af1e
commit
0b2afbd58a
@ -39,6 +39,7 @@ X86TargetLowering::X86TargetLowering(TargetMachine &TM)
|
||||
setShiftAmountType(MVT::i8);
|
||||
setSetCCResultType(MVT::i8);
|
||||
setSetCCResultContents(ZeroOrOneSetCCResult);
|
||||
setSchedulingPreference(SchedulingForRegPressure);
|
||||
setShiftAmountFlavor(Mask); // shl X, 32 == shl X, 0
|
||||
setStackPointerRegisterToSaveRestore(X86::ESP);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user