summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@codeaurora.org>2016-03-23 20:07:28 +0000
committerChad Rosier <mcrosier@codeaurora.org>2016-03-23 20:07:28 +0000
commit85c8594056c177358ca45956e761f2b802bcc5d1 (patch)
tree3aea839c72fb20dca2b58f357a24c61b7f7ec9ff /llvm/lib/Target
parentc7649dc74995be4239b7b4ac05d36959e2d7d4ad (diff)
downloadbcm5719-llvm-85c8594056c177358ca45956e761f2b802bcc5d1.tar.gz
bcm5719-llvm-85c8594056c177358ca45956e761f2b802bcc5d1.zip
[AArch64] Replace return 0 with return false. NFC.
llvm-svn: 264185
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/AArch64/AArch64InstrInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
index 43db52fd082..06da89aabc9 100644
--- a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+++ b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
@@ -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;
}
OpenPOWER on IntegriCloud