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:
Evan Cheng 2006-01-25 09:15:17 +00:00
parent cd1419af1e
commit 0b2afbd58a

View File

@ -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);