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

llvm-svn: 49037
This commit is contained in:
Evan Cheng 2008-04-01 07:33:13 +00:00
parent ba98fca5e5
commit 306e3dcff4
1 changed files with 3 additions and 0 deletions

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 /// isGVStub - Return true if the GV requires an extra load to get the
/// real address. /// real address.
static inline bool isGVStub(GlobalValue *GV, X86TargetMachine &TM) { static inline bool isGVStub(GlobalValue *GV, X86TargetMachine &TM) {
return false;
/* Temporarily disabled.
return TM.getSubtarget<X86Subtarget>().GVRequiresExtraLoad(GV, TM, false); return TM.getSubtarget<X86Subtarget>().GVRequiresExtraLoad(GV, TM, false);
*/
} }
bool X86InstrInfo::isReallyTriviallyReMaterializable(MachineInstr *MI) const { bool X86InstrInfo::isReallyTriviallyReMaterializable(MachineInstr *MI) const {