[llvm] 3875c38 - [AArch64] Fix formatting of the Shuffle Cost tables. NFC
David Green via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 8 11:54:20 PDT 2022
Author: David Green
Date: 2022-09-08T19:54:12+01:00
New Revision: 3875c38adf40be38cf4f7fbf82653a950953a80a
URL: https://github.com/llvm/llvm-project/commit/3875c38adf40be38cf4f7fbf82653a950953a80a
DIFF: https://github.com/llvm/llvm-project/commit/3875c38adf40be38cf4f7fbf82653a950953a80a.diff
LOG: [AArch64] Fix formatting of the Shuffle Cost tables. NFC
Added:
Modified:
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp b/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
index 5b8e236c77c1..b94cd9de50d1 100644
--- a/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+++ b/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
@@ -2969,10 +2969,9 @@ InstructionCost AArch64TTIImpl::getShuffleCost(TTI::ShuffleKind Kind,
{TTI::SK_PermuteSingleSrc, MVT::v2f64, 1}, // mov.
{TTI::SK_PermuteSingleSrc, MVT::v4i16, 3}, // perfectshuffle worst case.
{TTI::SK_PermuteSingleSrc, MVT::v4f16, 3}, // perfectshuffle worst case.
- {TTI::SK_PermuteSingleSrc, MVT::v4bf16,
- 3}, // perfectshuffle worst case.
- {TTI::SK_PermuteSingleSrc, MVT::v8i16, 8}, // constpool + load + tbl
- {TTI::SK_PermuteSingleSrc, MVT::v8f16, 8}, // constpool + load + tbl
+ {TTI::SK_PermuteSingleSrc, MVT::v4bf16, 3}, // same
+ {TTI::SK_PermuteSingleSrc, MVT::v8i16, 8}, // constpool + load + tbl
+ {TTI::SK_PermuteSingleSrc, MVT::v8f16, 8}, // constpool + load + tbl
{TTI::SK_PermuteSingleSrc, MVT::v8bf16, 8}, // constpool + load + tbl
{TTI::SK_PermuteSingleSrc, MVT::v8i8, 8}, // constpool + load + tbl
{TTI::SK_PermuteSingleSrc, MVT::v16i8, 8}, // constpool + load + tbl
More information about the llvm-commits
mailing list