aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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