[CostModel][X86] Convert AVX1/SSE41 SREM/SDIV by constants to cost tables
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 26 Aug 2022 13:51:43 +0000 (14:51 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 26 Aug 2022 15:14:12 +0000 (16:14 +0100)
commit9c29b4a0acf3bfa1e4ce935b6220b30cb7419275
treeea4e07a4c7942cba0c4c9da2f0af1649ba91a121
parent3bb228729fc112291dad8f90a65c89b745270da7
[CostModel][X86] Convert AVX1/SSE41 SREM/SDIV by constants to cost tables

When adding cost kind support it will be easier to maintain these if we're not calculating on the fly
llvm/lib/Target/X86/X86TargetTransformInfo.cpp