[llvm] dc93202 - [CostModel][X86] Remove duplicate ashr v4i64 cost table entry. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 22 09:27:36 PDT 2022
Author: Simon Pilgrim
Date: 2022-09-22T17:27:26+01:00
New Revision: dc93202b44dacb9180772990fbee8093a9cc8dd2
URL: https://github.com/llvm/llvm-project/commit/dc93202b44dacb9180772990fbee8093a9cc8dd2
DIFF: https://github.com/llvm/llvm-project/commit/dc93202b44dacb9180772990fbee8093a9cc8dd2.diff
LOG: [CostModel][X86] Remove duplicate ashr v4i64 cost table entry. NFCI.
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 ae61425c0ca72..84fdf8343f5b1 100644
--- a/llvm/lib/Target/X86/X86TargetTransformInfo.cpp
+++ b/llvm/lib/Target/X86/X86TargetTransformInfo.cpp
@@ -690,7 +690,6 @@ InstructionCost X86TTIImpl::getArithmeticInstrCost(
{ ISD::SHL, MVT::v4i64, { 2, 4, 1, 2 } }, // psllq
{ ISD::SRL, MVT::v4i64, { 2, 4, 1, 2 } }, // psrlq
{ ISD::SRA, MVT::v4i64, { 4, 6, 5, 9 } }, // 2 x psrad + shuffle.
- { ISD::SRA, MVT::v4i64, { 4 } }, // 2*psrad + shuffle.
};
if (ST->hasAVX2() && Op2Info.isUniform())
More information about the llvm-commits
mailing list