forked from OSchip/llvm-project
Revert 132789; it breaks tests. My mistake.
llvm-svn: 132795
This commit is contained in:
parent
624b299685
commit
9008377c2d
|
@ -2392,10 +2392,6 @@ MachineInstr* X86InstrInfo::foldMemoryOperandImpl(MachineFunction &MF,
|
|||
return 0;
|
||||
}
|
||||
|
||||
// Conservatively fail out for loads without a memoperand.
|
||||
if (LoadMI->memoperands_empty())
|
||||
return 0;
|
||||
|
||||
// Determine the alignment of the load.
|
||||
unsigned Alignment = 0;
|
||||
if (LoadMI->hasOneMemOperand())
|
||||
|
|
Loading…
Reference in New Issue