Fix a compilation warning.

llvm-svn: 44691
This commit is contained in:
Evan Cheng 2007-12-08 01:00:21 +00:00
parent c214d1605f
commit ab87e735cd
1 changed files with 1 additions and 1 deletions

View File

@ -615,7 +615,7 @@ MachineInstr *PPCRegisterInfo::foldMemoryOperand(MachineInstr *MI,
bool PPCRegisterInfo::canFoldMemoryOperand(MachineInstr *MI,
SmallVectorImpl<unsigned> &Ops) const {
if (Ops.size() != 1) return NULL;
if (Ops.size() != 1) return false;
// Make sure this is a reg-reg copy. Note that we can't handle MCRF, because
// it takes more than one instruction to store it.