[llvm] [AArch64] Add cost model for @experimental.vector.match (PR #118512)
Ricardo Jesus via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 10 04:20:58 PST 2024
================
@@ -905,6 +905,24 @@ AArch64TTIImpl::getIntrinsicInstrCost(const IntrinsicCostAttributes &ICA,
}
break;
}
+ case Intrinsic::experimental_vector_match: {
+ if (auto *NeedleTy = dyn_cast<FixedVectorType>(ICA.getArgTypes()[1])) {
----------------
rj-jesus wrote:
Thanks very much for the suggestion, I've attempted that in 15df9dd2428cc498fe59f4ff8d9a9e3c9200d8d5. Could you please have a look if that looks better?
https://github.com/llvm/llvm-project/pull/118512
More information about the llvm-commits
mailing list