[CostModel][X86] Convert AVX2 SRA by uniform constant to cost table
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 26 Aug 2022 15:09:02 +0000 (16:09 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 26 Aug 2022 15:14:13 +0000 (16:14 +0100)
commitfef3eeef480b05457c4045846e255d8167938b84
tree0548ed675b29048abe10b01ef022d7f9d810acd3
parentf3590b6440a9bf32bc36417195603dc919f0b686
[CostModel][X86] Convert AVX2 SRA by uniform constant to cost table

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