Commit 69ade7c
authored
[LV] Check if the VF is scalar by VFRange in
This patch check if the plan contains scalar VF by VFRange instead of
Plan.
This patch also clamp the range to contains either only scalar or only
vector VFs to prevent mis-compile.
Split from llvm#113903.handleUncountableEarlyExit. (llvm#135294)1 parent f39242c commit 69ade7c
File tree
3 files changed
+15
-5
lines changed- llvm/lib/Transforms/Vectorize
3 files changed
+15
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9779 | 9779 | | |
9780 | 9780 | | |
9781 | 9781 | | |
9782 | | - | |
| 9782 | + | |
9783 | 9783 | | |
9784 | 9784 | | |
9785 | 9785 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
2457 | 2458 | | |
2458 | 2459 | | |
2459 | 2460 | | |
2460 | | - | |
| 2461 | + | |
| 2462 | + | |
2461 | 2463 | | |
2462 | 2464 | | |
2463 | 2465 | | |
| |||
2512 | 2514 | | |
2513 | 2515 | | |
2514 | 2516 | | |
2515 | | - | |
2516 | | - | |
| 2517 | + | |
| 2518 | + | |
| 2519 | + | |
| 2520 | + | |
| 2521 | + | |
| 2522 | + | |
| 2523 | + | |
| 2524 | + | |
2517 | 2525 | | |
2518 | 2526 | | |
2519 | 2527 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
173 | 174 | | |
174 | 175 | | |
175 | 176 | | |
176 | | - | |
| 177 | + | |
| 178 | + | |
177 | 179 | | |
178 | 180 | | |
179 | 181 | | |
| |||
0 commit comments