Commit 1dac302
authored
[LV] Explicitly disallow interleaved access requiring gap mask for scalable VFs. nfc (llvm#154122)
Currently, VPInterleaveRecipe::execute does not support generating LLVM
IR for interleaved accesses that require a gap mask for scalable VFs.
It would be better to detect and prevent such groups from being
vectorized as interleaved accesses in
LoopVectorizationCostModel::interleavedAccessCanBeWidened, rather than
relying on the TTI function getInterleavedMemoryOpCost to return an
invalid cost.1 parent fb4450c commit 1dac302
File tree
2 files changed
+8
-2
lines changed- llvm/lib/Transforms/Vectorize
2 files changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3095 | 3095 | | |
3096 | 3096 | | |
3097 | 3097 | | |
| 3098 | + | |
| 3099 | + | |
| 3100 | + | |
| 3101 | + | |
| 3102 | + | |
| 3103 | + | |
3098 | 3104 | | |
3099 | 3105 | | |
3100 | 3106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3496 | 3496 | | |
3497 | 3497 | | |
3498 | 3498 | | |
| 3499 | + | |
| 3500 | + | |
3499 | 3501 | | |
3500 | 3502 | | |
3501 | 3503 | | |
| |||
3613 | 3615 | | |
3614 | 3616 | | |
3615 | 3617 | | |
3616 | | - | |
3617 | | - | |
3618 | 3618 | | |
3619 | 3619 | | |
3620 | 3620 | | |
| |||
0 commit comments