From b3a6817d06ab88f410012b5c5cc17fc4f07058c3 Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Tue, 26 Oct 2010 00:02:19 +0000 Subject: [PATCH] Tidy up redundant check. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117331 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMBaseInstrInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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