[NFC][SCEVExpander] `CmpSelCost`: use the cost of the expression, not operand
Currently, for all invocations, it's equivalent, since that is literally how `SCEVMinMaxExpr::getType()` is defined. But for e.g. `select`, we'll want to ask about the hand type, and not the type of the operand that happens to be first.
Loading
Please sign in to comment