[llvm] [CostModel][X86] Add initial costs for non-lane-crossing one/two input shuffles (PR #114680)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 3 09:52:58 PST 2024
================
@@ -1564,6 +1564,7 @@ InstructionCost X86TTIImpl::getShuffleCost(
bool IsInLaneShuffle = false;
if (BaseTp->getPrimitiveSizeInBits() > 0 &&
(BaseTp->getPrimitiveSizeInBits() % 128) == 0 &&
+ BaseTp->getScalarSizeInBits() == LT.second.getScalarSizeInBits() &&
----------------
alexey-bataev wrote:
Will it work for pointers?
https://github.com/llvm/llvm-project/pull/114680
More information about the llvm-commits
mailing list