[CostModel][X86] Add CostKinds to SSE42 fadd/fsub/fneg ops
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 2 Sep 2022 15:04:39 +0000 (16:04 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 2 Sep 2022 15:32:44 +0000 (16:32 +0100)
commit6941b1f6c129011bd6c9e8a4683a7fc6633bae32
tree509d5a4a65ce190ab9b896ece6c349c3ae05777f
parentfec01ee3f5244bb9a04bc4310fc892c56c5b6bab
[CostModel][X86] Add CostKinds to SSE42 fadd/fsub/fneg ops

These were missed in an earlier commit, the latency/codesize/size-latency numbers aren't different from the SSE2 values that it was falling through to, hence no test change, but it did mean we were wasting a lookup.
llvm/lib/Target/X86/X86TargetTransformInfo.cpp