1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 13:11:39 +01:00

[InstSimplify] update stale comment; NFC

Missed this diff with rL361118.

llvm-svn: 361180
This commit is contained in:
Sanjay Patel 2019-05-20 17:52:18 +00:00
parent 5755eada6b
commit 27aeabcec4

View File

@ -3434,7 +3434,7 @@ static Value *SimplifyFCmpInst(unsigned Predicate, Value *LHS, Value *RHS,
} }
} }
// Check comparison of constant with minnum with smaller constant. // Check comparison of [minnum/maxnum with constant] with other constant.
const APFloat *C2; const APFloat *C2;
if ((match(LHS, m_Intrinsic<Intrinsic::minnum>(m_Value(), m_APFloat(C2))) && if ((match(LHS, m_Intrinsic<Intrinsic::minnum>(m_Value(), m_APFloat(C2))) &&
C2->compare(*C) == APFloat::cmpLessThan) || C2->compare(*C) == APFloat::cmpLessThan) ||