Commit f24aa3b
committed
[AMDGPU] Add SGPR class 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 necessary instructions
into the BB prolog.
Change-Id: Ic747d09771839f7371a44c85b606ea06e972427b1 parent a565d43 commit f24aa3b
File tree
4 files changed
+70
-69
lines changed- llvm
- include/llvm/CodeGen
- lib
- CodeGen
- Target/AMDGPU
- test/CodeGen/AMDGPU
4 files changed
+70
-69
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
| 557 | + | |
557 | 558 | | |
558 | 559 | | |
559 | 560 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8930 | 8930 | | |
8931 | 8931 | | |
8932 | 8932 | | |
| 8933 | + | |
| 8934 | + | |
8933 | 8935 | | |
8934 | | - | |
8935 | | - | |
| 8936 | + | |
8936 | 8937 | | |
8937 | | - | |
8938 | 8938 | | |
8939 | 8939 | | |
8940 | 8940 | | |
8941 | 8941 | | |
| 8942 | + | |
| 8943 | + | |
| 8944 | + | |
8942 | 8945 | | |
8943 | 8946 | | |
8944 | 8947 | | |
| |||
0 commit comments