forked from OSchip/llvm-project
[ValueTracking] remove TODO comment; NFC
InstCombine should always canonicalize patterns like the one shown in the comment when visiting 'select' insts in adjustMinMax(). Scalars were already handled there, and vector splats are handled after: https://reviews.llvm.org/rL285732 llvm-svn: 285744
This commit is contained in:
parent
2d8c289b4b
commit
9840cdad4c
|
@ -3991,8 +3991,6 @@ static SelectPatternResult matchSelectPattern(CmpInst::Predicate Pred,
|
|||
}
|
||||
}
|
||||
|
||||
// TODO: (X > 4) ? X : 5 --> (X >= 5) ? X : 5 --> MAX(X, 5)
|
||||
|
||||
return {SPF_UNKNOWN, SPNB_NA, false};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue