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 | 59f7cdaf980e63b44767bd5ef0b3c72e7603c1d8 (patch) | |
tree | e1b0fd82d52e1d3b29678a0c1b72c678c3948de3 /llvm/lib | |
parent | 8c0142fd621ffbeafdbf552b212b1c5db3896edd (diff) | |
download | bcm5719-llvm-59f7cdaf980e63b44767bd5ef0b3c72e7603c1d8.tar.gz bcm5719-llvm-59f7cdaf980e63b44767bd5ef0b3c72e7603c1d8.zip |
Tidy up redundant check.
llvm-svn: 117331
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/ARM/ARMBaseInstrInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMBaseInstrInfo.h b/llvm/lib/Target/ARM/ARMBaseInstrInfo.h index f9b235ce7df..b665fd5ecb0 100644 --- a/llvm/lib/Target/ARM/ARMBaseInstrInfo.h +++ b/llvm/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 |