Commit fb86592
[GlobalISel] Fix fewerElementsVectorPhi to insert after G_PHIs (#87927)
Currently the inserted mergelike instructions will be inserted at the
location of the G_PHI. Seems like the behaviour was correct before, but
the rework done in https://reviews.llvm.org/D114198 forgot to include
the part which makes sure the instructions will be inserted after all
the G_PHIs.
(cherry picked from commit 2347020)1 parent 111ae45 commit fb86592
File tree
2 files changed
+7
-3
lines changed- llvm
- lib/CodeGen/GlobalISel
- unittests/CodeGen/GlobalISel
2 files changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4180 | 4180 | | |
4181 | 4181 | | |
4182 | 4182 | | |
| 4183 | + | |
| 4184 | + | |
| 4185 | + | |
| 4186 | + | |
4183 | 4187 | | |
4184 | 4188 | | |
4185 | 4189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1556 | 1556 | | |
1557 | 1557 | | |
1558 | 1558 | | |
1559 | | - | |
1560 | | - | |
1561 | | - | |
1562 | 1559 | | |
1563 | 1560 | | |
1564 | 1561 | | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
1565 | 1565 | | |
1566 | 1566 | | |
1567 | 1567 | | |
| |||
0 commit comments