[CostModel][x86] remove cost-kind predicate for intrinsic costs
authorSanjay Patel <spatel@rotateright.com>
Wed, 28 Oct 2020 18:31:13 +0000 (14:31 -0400)
committerSanjay Patel <spatel@rotateright.com>
Wed, 28 Oct 2020 18:33:37 +0000 (14:33 -0400)
commit7c395f31a63255fcb43e6cbebf66c3d642013087
tree3959e0c1e2dd36fc077faa080fe107b6dcec7e1b
parentcdff3bd932870cc9f84c6828cb1a7bb0df3c5fa0
[CostModel][x86] remove cost-kind predicate for intrinsic costs

We model cost as number of instructions / uops, so it does not
make sense to treat size/blended costs any differently than
throughput.
llvm/lib/Target/X86/X86TargetTransformInfo.cpp
llvm/test/Analysis/CostModel/X86/intrinsic-cost-kinds.ll