Files
clang-p2996/llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
Roman Lebedev 3c560dd0ae [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.
2023-01-22 17:48:49 +03:00

104 KiB