1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Typo. NFC.

llvm-svn: 267399
This commit is contained in:
Chad Rosier 2016-04-25 13:25:14 +00:00
parent 18108f55f4
commit 8abfdc3dfd

View File

@ -3581,7 +3581,7 @@ bool CmpInst::isImpliedTrueByMatchingCmp(Predicate Pred1, Predicate Pred2) {
default: default:
break; break;
case ICMP_EQ: case ICMP_EQ:
// A == B implies A >=u B, A <=u B, A >=u B, and A <=u B are true. // A == B implies A >=u B, A <=u B, A >=s B, and A <=s B are true.
return Pred2 == ICMP_UGE || Pred2 == ICMP_ULE || Pred2 == ICMP_SGE || return Pred2 == ICMP_UGE || Pred2 == ICMP_ULE || Pred2 == ICMP_SGE ||
Pred2 == ICMP_SLE; Pred2 == ICMP_SLE;
case ICMP_UGT: // A >u B implies A != B and A >=u B are true. case ICMP_UGT: // A >u B implies A != B and A >=u B are true.