aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-04-01 07:33:13 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-04-01 07:33:13 +0000
commit0008874e6716f9eebb9628050ba286046666aedf (patch)
tree2937336c452f9fc62ea9d8967a260954d16b0e21 /lib/Target
parent116abbf4f4d4988c4d3f4d514b9b87934778a86a (diff)
downloadexternal_llvm-0008874e6716f9eebb9628050ba286046666aedf.zip
external_llvm-0008874e6716f9eebb9628050ba286046666aedf.tar.gz
external_llvm-0008874e6716f9eebb9628050ba286046666aedf.tar.bz2
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
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/X86/X86InstrInfo.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/X86/X86InstrInfo.cpp b/lib/Target/X86/X86InstrInfo.cpp
index 8a54645..7349408 100644
--- a/lib/Target/X86/X86InstrInfo.cpp
+++ b/lib/Target/X86/X86InstrInfo.cpp
@@ -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 {