Commit 80232b5
committed
[AMDGPU] Add liverange split instructions into BB Prolog
The COPY inserted for liverange split during sgpr-regalloc
pipeline currently breaks the BB prolog during the subsequent
vgpr-regalloc phase while spilling and/or splitting the vector
liveranges. This patch fixes it by correctly including the
the LR split instructions during sgpr-regalloc and wwm-regalloc
pipelines into the BB prolog.1 parent a9587c1 commit 80232b5
File tree
4 files changed
+707
-665
lines changed- llvm
- lib/Target/AMDGPU
- test/CodeGen/AMDGPU
4 files changed
+707
-665
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9709 | 9709 | | |
9710 | 9710 | | |
9711 | 9711 | | |
| 9712 | + | |
| 9713 | + | |
| 9714 | + | |
| 9715 | + | |
| 9716 | + | |
| 9717 | + | |
| 9718 | + | |
| 9719 | + | |
| 9720 | + | |
| 9721 | + | |
| 9722 | + | |
| 9723 | + | |
| 9724 | + | |
| 9725 | + | |
| 9726 | + | |
| 9727 | + | |
| 9728 | + | |
| 9729 | + | |
| 9730 | + | |
| 9731 | + | |
| 9732 | + | |
| 9733 | + | |
| 9734 | + | |
| 9735 | + | |
9712 | 9736 | | |
9713 | 9737 | | |
9714 | 9738 | | |
| |||
9717 | 9741 | | |
9718 | 9742 | | |
9719 | 9743 | | |
9720 | | - | |
9721 | 9744 | | |
9722 | 9745 | | |
| 9746 | + | |
9723 | 9747 | | |
9724 | 9748 | | |
9725 | 9749 | | |
9726 | 9750 | | |
9727 | | - | |
9728 | | - | |
9729 | 9751 | | |
9730 | | - | |
9731 | | - | |
9732 | | - | |
9733 | | - | |
| 9752 | + | |
| 9753 | + | |
9734 | 9754 | | |
9735 | 9755 | | |
9736 | 9756 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1561 | 1561 | | |
1562 | 1562 | | |
1563 | 1563 | | |
| 1564 | + | |
| 1565 | + | |
1564 | 1566 | | |
1565 | 1567 | | |
1566 | 1568 | | |
| |||
0 commit comments