Commit a84c256
committed
[AMDGPU][SelectionDAG] Use COPY instead of S_MOV_B32 to assign values to M0 (llvm#132957)
This is consistent with what's done on GISel. This allows the register
coalescer to remove the redundant intermediate `s_mov_b32` instructions
by using `m0` directly as the result register.1 parent d42900d commit a84c256
File tree
13 files changed
+1320
-601
lines changed- llvm
- lib/Target/AMDGPU
- test/CodeGen/AMDGPU
13 files changed
+1320
-601
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4561 | 4561 | | |
4562 | 4562 | | |
4563 | 4563 | | |
4564 | | - | |
4565 | | - | |
| 4564 | + | |
| 4565 | + | |
4566 | 4566 | | |
4567 | 4567 | | |
4568 | 4568 | | |
| |||
4669 | 4669 | | |
4670 | 4670 | | |
4671 | 4671 | | |
4672 | | - | |
| 4672 | + | |
4673 | 4673 | | |
4674 | 4674 | | |
4675 | 4675 | | |
| |||
5245 | 5245 | | |
5246 | 5246 | | |
5247 | 5247 | | |
| 5248 | + | |
5248 | 5249 | | |
5249 | | - | |
5250 | | - | |
| 5250 | + | |
| 5251 | + | |
| 5252 | + | |
5251 | 5253 | | |
5252 | 5254 | | |
5253 | 5255 | | |
| |||
0 commit comments