Tidy up redundant check.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117331 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bob Wilson 2010-10-26 00:02:19 +00:00
parent 38fd9f2a2d
commit b3a6817d06

View File

@ -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