forked from OSchip/llvm-project
[InstCombine] Fix typo in comment (NFC)
As pointed out in post-commit review of D63060.
This commit is contained in:
parent
672d7836bb
commit
57a26bb7b4
|
@ -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)))) {
|
||||
|
|
Loading…
Reference in New Issue