[CostModel][X86] Improve add vXi64 + fadd vXf64 reduction tests for SLM
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 6 Nov 2019 17:55:23 +0000 (17:55 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 6 Nov 2019 17:55:38 +0000 (17:55 +0000)
commita091f70610687202104ad75a916048a190d872c2
treef2d8c5fcd350990ed60e669bb4815107d0982fbb
parent3ddac7e563633632d4a3e673f3224ee66e1a717e
[CostModel][X86] Improve add vXi64 + fadd vXf64 reduction tests for SLM

As noted on D59710 we weren't handling the high costs of these operations on SLM.
llvm/lib/Target/X86/X86TargetTransformInfo.cpp
llvm/test/Analysis/CostModel/X86/reduce-add.ll
llvm/test/Analysis/CostModel/X86/reduction.ll