Revert 132789; it breaks tests. My mistake.

llvm-svn: 132795
This commit is contained in:
Eli Friedman 2011-06-09 19:33:30 +00:00
parent 624b299685
commit 9008377c2d
1 changed files with 0 additions and 4 deletions

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