[llvm] [LV] Check early for supported interleave factors with scalable types [nfc] (PR #111592)
Mel Chen via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 8 21:23:49 PDT 2024
================
@@ -3414,9 +3415,14 @@ bool LoopVectorizationCostModel::interleavedAccessCanBeWidened(
if (hasIrregularType(ScalarTy, DL))
return false;
+ // We currently only know how to emit interleave/deinterleave with
+ // Factor=2 for scalable vectors. This is purely an implementation
----------------
Mel-Chen wrote:
nit
```suggestion
// Factor=2 for scalable vectors. This is purely an implementation
```
https://github.com/llvm/llvm-project/pull/111592
More information about the llvm-commits
mailing list