diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-10-26 00:02:19 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-10-26 00:02:19 +0000 |
commit | b3a6817d06ab88f410012b5c5cc17fc4f07058c3 (patch) | |
tree | 842a863f01cdb93097ca47df3e87487ce61855cd /lib/Target/ARM/ARMBaseInstrInfo.h | |
parent | 38fd9f2a2dedc2c4ce73fcf4890b79b6eb8c2e8f (diff) | |
download | external_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.h | 2 |
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 |