[llvm] [AArch64] Consider StreamingSVE in shouldExpandGetActiveLaneMask (PR #144722)
Paul Walker via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 23 05:13:12 PDT 2025
================
@@ -18099,7 +18101,8 @@ performActiveLaneMaskCombine(SDNode *N, TargetLowering::DAGCombinerInfo &DCI,
/*IsEqual=*/false))
return While;
- if (!ST->hasSVE2p1() && !(ST->hasSME2() && ST->isStreaming()))
+ if (!N->getValueType(0).isScalableVT() ||
----------------
paulwalker-arm wrote:
```suggestion
if (!N->getValueType(0).isScalableVector() ||
```
https://github.com/llvm/llvm-project/pull/144722
More information about the llvm-commits
mailing list