aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMBaseInstrInfo.h
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 /lib/Target/ARM/ARMBaseInstrInfo.h
parent38fd9f2a2dedc2c4ce73fcf4890b79b6eb8c2e8f (diff)
downloadexternal_llvm-b3a6817d06ab88f410012b5c5cc17fc4f07058c3.zip
external_llvm-b3a6817d06ab88f410012b5c5cc17fc4f07058c3.tar.gz
external_llvm-b3a6817d06ab88f410012b5c5cc17fc4f07058c3.tar.bz2
Tidy up redundant check.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117331 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMBaseInstrInfo.h')
-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 f9b235c..b665fd5 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