[AArch64] Replace return 0 with return false. NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264185 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chad Rosier 2016-03-23 20:07:28 +00:00
parent 03d7c088c2
commit 7f0ee88e1f

View File

@ -2664,17 +2664,17 @@ static bool getMaddPatterns(MachineInstr &Root,
bool Found = false;
if (!isCombineInstrCandidate(Opc))
return 0;
return false;
if (isCombineInstrSettingFlag(Opc)) {
int Cmp_NZCV = Root.findRegisterDefOperandIdx(AArch64::NZCV, true);
// When NZCV is live bail out.
if (Cmp_NZCV == -1)
return 0;
return false;
unsigned NewOpc = convertFlagSettingOpcode(&Root);
// When opcode can't change bail out.
// CHECKME: do we miss any cases for opcode conversion?
if (NewOpc == Opc)
return 0;
return false;
Opc = NewOpc;
}