[llvm] [LV] Stop using the legacy cost model for udiv + friends (PR #152707)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 20 01:57:47 PDT 2025
================
@@ -952,6 +952,19 @@ InstructionCost VPInstruction::computeCost(ElementCount VF,
}
switch (getOpcode()) {
+ case Instruction::Select: {
+ // TODO: It may be possible to improve this by analyzing where the
----------------
lukel97 wrote:
Ah ok, that seems nicer than checking on the underlying instruction.
https://github.com/llvm/llvm-project/pull/152707
More information about the llvm-commits
mailing list