[PATCH] D82508: [SVE] Remove calls to VectorType::getNumElements from X86
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 24 23:57:41 PDT 2020
RKSimon added inline comments.
================
Comment at: llvm/lib/Target/X86/X86TargetTransformInfo.cpp:4375
// AVX-512 provides 3-src shuffles that significantly reduces the cost.
int X86TTIImpl::getInterleavedMemoryOpCostAVX512(unsigned Opcode, Type *VecTy,
unsigned Factor,
----------------
getInterleavedMemoryOpCostAVX2 + getInterleavedMemoryOpCostAVX512 are X86-only - we can safely change VecTY to be a FixedVectorType and just cast once in the getInterleavedMemoryOpCost call
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82508/new/
https://reviews.llvm.org/D82508
More information about the llvm-commits
mailing list