Commit 9971bf8
committed
[AMDGPU] Support arbitrary types in amdgcn.dead
Legalize the amdgcn.dead intrinsic to work with types other than i32. It
still generates IMPLICIT_DEFs.
Remove some of the previous code for selecting/reg bank mapping it
for 32-bit types, since everything is done in the legalizer now.1 parent 83fbe67 commit 9971bf8
File tree
7 files changed
+430
-16
lines changed- llvm
- lib/Target/AMDGPU
- test/CodeGen/AMDGPU
7 files changed
+430
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1191 | 1191 | | |
1192 | 1192 | | |
1193 | 1193 | | |
1194 | | - | |
1195 | | - | |
1196 | | - | |
1197 | | - | |
1198 | | - | |
1199 | | - | |
1200 | 1194 | | |
1201 | 1195 | | |
1202 | 1196 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7651 | 7651 | | |
7652 | 7652 | | |
7653 | 7653 | | |
| 7654 | + | |
| 7655 | + | |
| 7656 | + | |
| 7657 | + | |
| 7658 | + | |
| 7659 | + | |
7654 | 7660 | | |
7655 | 7661 | | |
7656 | 7662 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4701 | 4701 | | |
4702 | 4702 | | |
4703 | 4703 | | |
4704 | | - | |
4705 | 4704 | | |
4706 | 4705 | | |
4707 | 4706 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6629 | 6629 | | |
6630 | 6630 | | |
6631 | 6631 | | |
| 6632 | + | |
| 6633 | + | |
| 6634 | + | |
| 6635 | + | |
| 6636 | + | |
6632 | 6637 | | |
6633 | 6638 | | |
6634 | 6639 | | |
| |||
9116 | 9121 | | |
9117 | 9122 | | |
9118 | 9123 | | |
| 9124 | + | |
| 9125 | + | |
| 9126 | + | |
| 9127 | + | |
| 9128 | + | |
| 9129 | + | |
9119 | 9130 | | |
9120 | 9131 | | |
9121 | 9132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4484 | 4484 | | |
4485 | 4485 | | |
4486 | 4486 | | |
4487 | | - | |
4488 | | - | |
4489 | | - | |
4490 | | - | |
4491 | | - | |
4492 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
0 commit comments