[CostModel][X86] getArithmeticInstrCost - move SLM reduceVMULWidth cost handling...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 26 Aug 2022 14:09:50 +0000 (15:09 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 26 Aug 2022 15:14:12 +0000 (16:14 +0100)
commitf3590b6440a9bf32bc36417195603dc919f0b686
treec4d012efcb040d3520fb1bcd81301bb48dead0a2
parent9c29b4a0acf3bfa1e4ce935b6220b30cb7419275
[CostModel][X86] getArithmeticInstrCost - move SLM reduceVMULWidth cost handling into the generic MUL handling

This is still SLM specific atm, but converting this to more closely match the codegen from reduceVMULWidth should be straightforward
llvm/lib/Target/X86/X86TargetTransformInfo.cpp