[InstCombine] Fix typo in comment (NFC)

As pointed out in post-commit review of D63060.
This commit is contained in:
Nikita Popov 2020-08-29 10:17:17 +02:00
parent 672d7836bb
commit 57a26bb7b4
1 changed files with 1 additions and 1 deletions

View File

@ -1425,7 +1425,7 @@ Instruction *InstCombinerImpl::visitAdd(BinaryOperator &I) {
if (Instruction *SatAdd = foldToUnsignedSaturatedAdd(I))
return SatAdd;
// usub.sat(A, B) + A => umax(A, B)
// usub.sat(A, B) + B => umax(A, B)
if (match(&I, m_c_BinOp(
m_OneUse(m_Intrinsic<Intrinsic::usub_sat>(m_Value(A), m_Value(B))),
m_Deferred(B)))) {