Tidy up redundant check.
authorBob Wilson <bob.wilson@apple.com>
Tue, 26 Oct 2010 00:02:19 +0000 (00:02 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 26 Oct 2010 00:02:19 +0000 (00:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117331 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMBaseInstrInfo.h

index f9b235ce7dfa699911299c875e8068514d1caf86..b665fd5ecb01db179495cca2204ead9b55dbb2ee 100644 (file)
@@ -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