OSDN Git Service

[CostModel][X86] Improve single src shuffle costs
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 10 Aug 2017 17:27:20 +0000 (17:27 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 10 Aug 2017 17:27:20 +0000 (17:27 +0000)
commitb0b94e11177540edaebe15faa682a3188fa46a01
tree1cb37da2531872284a7859ec2f1dc522866cc418
parent92e2e47a06b528727debdf2e7a7e7707eaa1f1cc
[CostModel][X86] Improve single src shuffle costs

Add missing SK_PermuteSingleSrc costs for AVX2 targets and earlier, also added some of the simpler SK_PermuteTwoSrc costs to support splitting of SK_PermuteSingleSrc shuffles

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310632 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86TargetTransformInfo.cpp
test/Analysis/CostModel/X86/shuffle-single-src.ll