Warning fix.

llvm-svn: 252078
This commit is contained in:
Simon Pilgrim 2015-11-04 21:27:22 +00:00
parent a4bae3bb21
commit f669d381f9
1 changed files with 2 additions and 2 deletions

View File

@ -5037,9 +5037,9 @@ MachineInstr *X86InstrInfo::foldMemoryOperandImpl(
MachineInstr *NewMI = nullptr;
// Attempt to fold any custom cases we have.
if (NewMI =
if (MachineInstr *CustomMI =
foldMemoryOperandCustom(MF, MI, OpNum, MOs, InsertPt, Size, Align))
return NewMI;
return CustomMI;
// Folding a memory location into the two-address part of a two-address
// instruction is different than folding it other places. It requires