diff --git a/lib/Target/ARM/ARMBaseInstrInfo.h b/lib/Target/ARM/ARMBaseInstrInfo.h index f9b235ce7df..b665fd5ecb0 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