[llvm] [AArch64] Add MATCH loops to LoopIdiomVectorizePass (PR #101976)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 03:51:51 PST 2024


================
@@ -914,6 +914,23 @@ AArch64TTIImpl::getIntrinsicInstrCost(const IntrinsicCostAttributes &ICA,
     }
     break;
   }
+  case Intrinsic::experimental_vector_match: {
----------------
david-arm wrote:

Could you pull the cost model changes out into a separate PR please? I think they make sense as a standalone change. Also, it would be good to add some tests in llvm/test/Analysis/CostModel/AArch64/sve-intrinsics.ll. You can look at `@reductions` as an example.

https://github.com/llvm/llvm-project/pull/101976


More information about the llvm-commits mailing list