[llvm] [LV] Vectorize conditional scalar assignments (PR #158088)
Benjamin Maxwell via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 22 08:55:57 PDT 2025
================
@@ -1004,6 +1004,13 @@ AArch64TTIImpl::getIntrinsicInstrCost(const IntrinsicCostAttributes &ICA,
}
break;
}
+ case Intrinsic::experimental_vector_extract_last_active:
+ if (ST->isSVEAvailable()) {
----------------
MacDue wrote:
AFAIK, this is implemented with `+sme`, so could be:
```suggestion
if (ST->isSVEorStreamingSVEAvailable()) {
```
(I know we don't auto-vectorize in streaming-mode, but I've seen some recent PRs where people have wanted pragma-based vectorization to work for streaming functions.)
https://github.com/llvm/llvm-project/pull/158088
More information about the llvm-commits
mailing list