[CostModel] Recognise REVERSE shuffle mask if the elements come from the second src
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 14 Jun 2018 09:35:00 +0000 (09:35 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 14 Jun 2018 09:35:00 +0000 (09:35 +0000)
commit32702cc86a633311b1d4506b27293767334a8169
tree47e8270f3999b20ae4a97b8e7ecf76be2794b70e
parent9cf22d03dd77524605834f334e6d543d71db82cb
[CostModel] Recognise REVERSE shuffle mask if the elements come from the second src

llvm-svn: 334698
llvm/lib/Analysis/TargetTransformInfo.cpp
llvm/test/Analysis/CostModel/X86/shuffle-reverse.ll