Commit e0453a8
committed
[VPlan][NFC] Add new getMiddleBlock interface to VPlan
This work is in preparation for PRs llvm#112138 and llvm#88385 where
the middle block is not guaranteed to be the immediate successor
to the region block. I've simply add new getMiddleBlock()
interfaces to VPlan that for now just return
cast<VPBasicBlock>(VectorRegion->getSingleSuccessor())
Once PR llvm#112138 lands we'll need to do more work to discover
the middle block.1 parent 6bac414 commit e0453a8
File tree
5 files changed
+18
-17
lines changed- llvm/lib/Transforms/Vectorize
5 files changed
+18
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7692 | 7692 | | |
7693 | 7693 | | |
7694 | 7694 | | |
7695 | | - | |
7696 | | - | |
| 7695 | + | |
7697 | 7696 | | |
7698 | 7697 | | |
7699 | 7698 | | |
| |||
8778 | 8777 | | |
8779 | 8778 | | |
8780 | 8779 | | |
8781 | | - | |
8782 | | - | |
| 8780 | + | |
8783 | 8781 | | |
8784 | 8782 | | |
8785 | 8783 | | |
| |||
8825 | 8823 | | |
8826 | 8824 | | |
8827 | 8825 | | |
8828 | | - | |
8829 | | - | |
| 8826 | + | |
8830 | 8827 | | |
8831 | 8828 | | |
8832 | 8829 | | |
| |||
8863 | 8860 | | |
8864 | 8861 | | |
8865 | 8862 | | |
8866 | | - | |
| 8863 | + | |
8867 | 8864 | | |
8868 | 8865 | | |
8869 | 8866 | | |
| |||
9065 | 9062 | | |
9066 | 9063 | | |
9067 | 9064 | | |
9068 | | - | |
9069 | | - | |
| 9065 | + | |
9070 | 9066 | | |
9071 | 9067 | | |
9072 | 9068 | | |
| |||
9277 | 9273 | | |
9278 | 9274 | | |
9279 | 9275 | | |
9280 | | - | |
9281 | | - | |
| 9276 | + | |
9282 | 9277 | | |
9283 | 9278 | | |
9284 | 9279 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1030 | 1030 | | |
1031 | 1031 | | |
1032 | 1032 | | |
1033 | | - | |
1034 | | - | |
| 1033 | + | |
| 1034 | + | |
1035 | 1035 | | |
1036 | 1036 | | |
1037 | 1037 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3689 | 3689 | | |
3690 | 3690 | | |
3691 | 3691 | | |
| 3692 | + | |
| 3693 | + | |
| 3694 | + | |
| 3695 | + | |
| 3696 | + | |
| 3697 | + | |
| 3698 | + | |
| 3699 | + | |
3692 | 3700 | | |
3693 | 3701 | | |
3694 | 3702 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
216 | | - | |
| 215 | + | |
217 | 216 | | |
218 | 217 | | |
219 | 218 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
252 | | - | |
| 251 | + | |
253 | 252 | | |
254 | 253 | | |
255 | 254 | | |
| |||
0 commit comments