[CostModel][X86] getArithmeticInstrCost - use the cost tables for all cost kinds
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 26 Aug 2022 15:24:35 +0000 (16:24 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 26 Aug 2022 16:34:52 +0000 (17:34 +0100)
commit7790518c1fd9729032c40f2d19a074093c6ff102
treea3f77259dfa07e908840611d60eb2deb2662e694
parenta235562c0a051d0786cdb7da8e2af93e56e849c3
[CostModel][X86] getArithmeticInstrCost - use the cost tables for all cost kinds

The tables currently only have TCK_RecipThroughput costs, but we should now be able to add individual entries without any further refactoring
llvm/lib/Target/X86/X86TargetTransformInfo.cpp