aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-10-26 00:02:19 +0000
committerBob Wilson <bob.wilson@apple.com>2010-10-26 00:02:19 +0000
commitb3a6817d06ab88f410012b5c5cc17fc4f07058c3 (patch)
tree842a863f01cdb93097ca47df3e87487ce61855cd
parent38fd9f2a2dedc2c4ce73fcf4890b79b6eb8c2e8f (diff)
Tidy up redundant check.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117331 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/ARMBaseInstrInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMBaseInstrInfo.h b/lib/Target/ARM/ARMBaseInstrInfo.h
index f9b235ce7d..b665fd5ecb 100644
--- a/lib/Target/ARM/ARMBaseInstrInfo.h
+++ b/lib/Target/ARM/ARMBaseInstrInfo.h
@@ -328,7 +328,7 @@ public:
unsigned NumInstrs,
float Probability,
float Confidence) const {
- return NumInstrs && NumInstrs == 1;
+ return NumInstrs == 1;
}
/// AnalyzeCompare - For a comparison instruction, return the source register