From 0b2afbd58ad189f0db0bfd88ef2ed19bd9330e2a Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Wed, 25 Jan 2006 09:15:17 +0000 Subject: [PATCH] X86 prefer scheduling for reduced register pressure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25602 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86ISelLowering.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index b97c57d374f..04b9de348d1 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -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);