[llvm] [AArch64] Improve cost model for legal subvec insert/extract (PR #81135)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 9 01:33:08 PST 2024
================
@@ -568,6 +568,32 @@ AArch64TTIImpl::getIntrinsicInstrCost(const IntrinsicCostAttributes &ICA,
}
return Cost;
}
+ case Intrinsic::vector_extract: {
----------------
david-arm wrote:
I think it would be good to have proper cost model test cases in llvm/test/Analysis/CostModel/AArch64. You can look at existing examples as a guide.
https://github.com/llvm/llvm-project/pull/81135
More information about the llvm-commits
mailing list