Commit 70a26da
committed
[VPlan] Set correct flags when creating and cloning VPWidenCastRecipe.
Make sure that we set the correct wrap flags when creating new
VPWidenCastRecipes for truncs and preserve the flags from the recipe
directly when cloning, to make sure they are not dropped.
Fixes #1603961 parent 2f5d5a3 commit 70a26da
File tree
4 files changed
+366
-10
lines changed- llvm
- lib/Transforms/Vectorize
- test/Transforms/LoopVectorize
4 files changed
+366
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
705 | 705 | | |
706 | 706 | | |
707 | 707 | | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
708 | 711 | | |
709 | 712 | | |
710 | 713 | | |
| |||
1494 | 1497 | | |
1495 | 1498 | | |
1496 | 1499 | | |
| 1500 | + | |
1497 | 1501 | | |
1498 | 1502 | | |
1499 | | - | |
| 1503 | + | |
1500 | 1504 | | |
1501 | 1505 | | |
1502 | 1506 | | |
1503 | 1507 | | |
1504 | 1508 | | |
1505 | 1509 | | |
1506 | 1510 | | |
| 1511 | + | |
| 1512 | + | |
1507 | 1513 | | |
1508 | | - | |
1509 | | - | |
1510 | | - | |
1511 | | - | |
| 1514 | + | |
| 1515 | + | |
1512 | 1516 | | |
1513 | 1517 | | |
1514 | 1518 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2016 | 2016 | | |
2017 | 2017 | | |
2018 | 2018 | | |
| 2019 | + | |
2019 | 2020 | | |
2020 | 2021 | | |
2021 | 2022 | | |
2022 | 2023 | | |
2023 | 2024 | | |
2024 | | - | |
2025 | | - | |
| 2025 | + | |
2026 | 2026 | | |
2027 | 2027 | | |
2028 | 2028 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2195 | 2195 | | |
2196 | 2196 | | |
2197 | 2197 | | |
2198 | | - | |
| 2198 | + | |
| 2199 | + | |
2199 | 2200 | | |
2200 | 2201 | | |
2201 | 2202 | | |
| |||
3566 | 3567 | | |
3567 | 3568 | | |
3568 | 3569 | | |
3569 | | - | |
| 3570 | + | |
3570 | 3571 | | |
3571 | 3572 | | |
3572 | 3573 | | |
3573 | 3574 | | |
3574 | 3575 | | |
3575 | | - | |
| 3576 | + | |
3576 | 3577 | | |
3577 | 3578 | | |
3578 | 3579 | | |
| |||
0 commit comments