Disabling remat of load from gv stub (temporarily) again to fix llvmgcc bootstrap miscompare.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49037 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2008-04-01 07:33:13 +00:00
parent 14c762d82f
commit 78b6ce3981

View File

@ -752,7 +752,10 @@ static bool regIsPICBase(unsigned BaseReg, MachineRegisterInfo &MRI) {
/// isGVStub - Return true if the GV requires an extra load to get the
/// real address.
static inline bool isGVStub(GlobalValue *GV, X86TargetMachine &TM) {
return false;
/* Temporarily disabled.
return TM.getSubtarget<X86Subtarget>().GVRequiresExtraLoad(GV, TM, false);
*/
}
bool X86InstrInfo::isReallyTriviallyReMaterializable(MachineInstr *MI) const {