Commit 8be25aa
committed
[VPlan] Construct initial once and pass clones to tryToBuildVPlan (NFC).
Update to only build an initial, plain-CFG VPlan once, and then
transform & optimize clones.
This requires changes to ::clone() for VPInstruction and
VPWidenPHIRecipe to allow for proper cloning of the recipes in
the initial VPlan.1 parent dcef154 commit 8be25aa
File tree
3 files changed
+14
-7
lines changed- llvm/lib/Transforms/Vectorize
3 files changed
+14
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
527 | | - | |
| 527 | + | |
| 528 | + | |
528 | 529 | | |
529 | 530 | | |
530 | 531 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8715 | 8715 | | |
8716 | 8716 | | |
8717 | 8717 | | |
| 8718 | + | |
8718 | 8719 | | |
8719 | 8720 | | |
8720 | 8721 | | |
8721 | 8722 | | |
8722 | | - | |
| 8723 | + | |
| 8724 | + | |
8723 | 8725 | | |
8724 | 8726 | | |
8725 | 8727 | | |
| |||
8980 | 8982 | | |
8981 | 8983 | | |
8982 | 8984 | | |
8983 | | - | |
8984 | | - | |
8985 | | - | |
| 8985 | + | |
| 8986 | + | |
8986 | 8987 | | |
8987 | 8988 | | |
8988 | 8989 | | |
| |||
9004 | 9005 | | |
9005 | 9006 | | |
9006 | 9007 | | |
9007 | | - | |
9008 | 9008 | | |
9009 | 9009 | | |
9010 | 9010 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1004 | 1004 | | |
1005 | 1005 | | |
1006 | 1006 | | |
| 1007 | + | |
| 1008 | + | |
1007 | 1009 | | |
1008 | 1010 | | |
1009 | 1011 | | |
| |||
2129 | 2131 | | |
2130 | 2132 | | |
2131 | 2133 | | |
2132 | | - | |
| 2134 | + | |
| 2135 | + | |
| 2136 | + | |
| 2137 | + | |
| 2138 | + | |
2133 | 2139 | | |
2134 | 2140 | | |
2135 | 2141 | | |
| |||
0 commit comments