Revert 132789; it breaks tests. My mistake.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132795 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eli Friedman 2011-06-09 19:33:30 +00:00
parent bebd44a95a
commit 6f19c67d84

View File

@ -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())