diff options
-rw-r--r-- | lib/Target/X86/X86InstrInfo.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Target/X86/X86InstrInfo.cpp b/lib/Target/X86/X86InstrInfo.cpp index f98497f654..18d71da474 100644 --- a/lib/Target/X86/X86InstrInfo.cpp +++ b/lib/Target/X86/X86InstrInfo.cpp @@ -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()) |