Andarwinux wrote: Looks like there's no CostTable for variable division in X86TargetTransformInfo? the cost of vector SDIV/SREM/UDIV/UREM also needs to be included, otherwise vectorizers will not attempt to vectorize them. https://github.com/llvm/llvm-project/pull/205263