forked from OSchip/llvm-project
Disabling remat of load from gv stub (temporarily) again to fix llvmgcc bootstrap miscompare.
llvm-svn: 49037
This commit is contained in:
parent
ba98fca5e5
commit
306e3dcff4
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue