projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38fd9f2
)
Tidy up redundant check.
author
Bob Wilson
<bob.wilson@apple.com>
Tue, 26 Oct 2010 00:02:19 +0000
(
00:02
+0000)
committer
Bob 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
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMBaseInstrInfo.h
b/lib/Target/ARM/ARMBaseInstrInfo.h
index f9b235ce7dfa699911299c875e8068514d1caf86..b665fd5ecb01db179495cca2204ead9b55dbb2ee 100644
(file)
--- 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