[llvm] 59dbd6a - [CostModel][X86] Remove redundant AVX512 v64i8 shift costs
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 4 06:07:27 PDT 2022
Author: Simon Pilgrim
Date: 2022-09-04T14:06:26+01:00
New Revision: 59dbd6a0cfbcb48001a0cac8493f94783333a9a4
URL: https://github.com/llvm/llvm-project/commit/59dbd6a0cfbcb48001a0cac8493f94783333a9a4
DIFF: https://github.com/llvm/llvm-project/commit/59dbd6a0cfbcb48001a0cac8493f94783333a9a4.diff
LOG: [CostModel][X86] Remove redundant AVX512 v64i8 shift costs
These are handled earlier (and more accurately) in AVX512BWShiftCostTable
Added:
Modified:
llvm/lib/Target/X86/X86TargetTransformInfo.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86TargetTransformInfo.cpp b/llvm/lib/Target/X86/X86TargetTransformInfo.cpp
index 5126796206ca..641e4611e113 100644
--- a/llvm/lib/Target/X86/X86TargetTransformInfo.cpp
+++ b/llvm/lib/Target/X86/X86TargetTransformInfo.cpp
@@ -641,10 +641,6 @@ InstructionCost X86TTIImpl::getArithmeticInstrCost(
return LT.first * KindCost.value();
static const CostKindTblEntry AVX512BWCostTable[] = {
- { ISD::SHL, MVT::v64i8, { 11 } }, // vpblendvb sequence.
- { ISD::SRL, MVT::v64i8, { 11 } }, // vpblendvb sequence.
- { ISD::SRA, MVT::v64i8, { 24 } }, // vpblendvb sequence.
-
{ ISD::ADD, MVT::v64i8, { 1, 1, 1, 1 } }, // paddb
{ ISD::ADD, MVT::v32i16, { 1, 1, 1, 1 } }, // paddw
More information about the llvm-commits
mailing list