[llvm-commits] [llvm] r49037 - /llvm/trunk/lib/Target/X86/X86InstrInfo.cpp

Evan Cheng evan.cheng at apple.com
Tue Apr 1 00:33:13 PDT 2008


Author: evancheng
Date: Tue Apr  1 02:33:13 2008
New Revision: 49037

URL: http://llvm.org/viewvc/llvm-project?rev=49037&view=rev
Log:
Disabling remat of load from gv stub (temporarily) again to fix llvmgcc bootstrap miscompare.

Modified:
    llvm/trunk/lib/Target/X86/X86InstrInfo.cpp

Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrInfo.cpp?rev=49037&r1=49036&r2=49037&view=diff

==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.cpp Tue Apr  1 02:33:13 2008
@@ -752,7 +752,10 @@
 /// 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 {





More information about the llvm-commits mailing list