[CostModel][X86] getShuffleCost - treat SK_Splice as SK_PermuteTwoSrc
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 22 Aug 2022 09:50:57 +0000 (10:50 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 22 Aug 2022 09:51:08 +0000 (10:51 +0100)
commitdd5b48976c353cf6344c38ac6e4caf6c6c50243a
tree73a06b402c8088882363d75de1a1d819d2bf9a61
parentf890f80d67664b2d7ddb2acae5b29ac5e8a88950
[CostModel][X86] getShuffleCost - treat SK_Splice as SK_PermuteTwoSrc

SK_Splice should be equivalent to a PALIGNR instruction etc. - but as discussed on D132308, until full fixed vector support for SK_Splice is in place, just assume its a SK_PermuteTwoSrc.
llvm/lib/Target/X86/X86TargetTransformInfo.cpp