[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:
Sanjay Patel 2016-11-01 20:43:00 +00:00
parent 2d8c289b4b
commit 9840cdad4c
1 changed files with 0 additions and 2 deletions

View File

@ -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}; return {SPF_UNKNOWN, SPNB_NA, false};
} }