Disabling remat of load from gv stub (temporarily) again to fix llvmgcc bootstrap...
authorEvan Cheng <evan.cheng@apple.com>
Tue, 1 Apr 2008 07:33:13 +0000 (07:33 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 1 Apr 2008 07:33:13 +0000 (07:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49037 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrInfo.cpp

index 8a5464567ffd8870a3ab0afbc0f5e75795416727..734940806f79a227b9e4d23a45a26eea2f44c183 100644 (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 {