[CostModel][X86] getIntrinsicInstrCost - convert to CostKindTblEntry
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 6 Sep 2022 21:05:27 +0000 (22:05 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 6 Sep 2022 21:05:32 +0000 (22:05 +0100)
commit648e182d92441b39b62f2fc30473d12d25e6ce8b
treea3243541e13739115590981f0dbc5844dc8e2d74
parentd50d67885452eea43dc45f3950a7f59a232bc35d
[CostModel][X86] getIntrinsicInstrCost - convert to CostKindTblEntry

Begin the refactoring to use CostKindTblEntry and return real latency/codesize/sizelatency costs instead of reusing the throughput numbers

This should allow us to merge getTypeBasedIntrinsicInstrCost into getIntrinsicInstrCost and remove all remaining references
llvm/lib/Target/X86/X86TargetTransformInfo.cpp
llvm/test/Analysis/CostModel/X86/intrinsic-cost-kinds.ll