[llvm-commits] [llvm] r117331 - /llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.h
Bob Wilson
bob.wilson at apple.com
Mon Oct 25 17:02:19 PDT 2010
Author: bwilson
Date: Mon Oct 25 19:02:19 2010
New Revision: 117331
URL: http://llvm.org/viewvc/llvm-project?rev=117331&view=rev
Log:
Tidy up redundant check.
Modified:
llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.h
Modified: llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.h?rev=117331&r1=117330&r2=117331&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.h (original)
+++ llvm/trunk/lib/Target/ARM/ARMBaseInstrInfo.h Mon Oct 25 19:02:19 2010
@@ -328,7 +328,7 @@
unsigned NumInstrs,
float Probability,
float Confidence) const {
- return NumInstrs && NumInstrs == 1;
+ return NumInstrs == 1;
}
/// AnalyzeCompare - For a comparison instruction, return the source register
More information about the llvm-commits
mailing list