Commit 6405a5f
[AMDGPU] Support double type in atomic optimizer. (llvm#84307)
Presently the atomic optimizer supports only 32-bit operations. Plan is
to extend the atomic optimizer for 64-bit operations for compute and
graphics. This patch extends support for double type for `uniform
values` only. Going forward, will extend the support for divergent
values. Adding support for divergent values requires
extending/legalizing readfirstlane, readlane, writelane, etc ops for
64-bit operations to avoid `bitcast` noise that we have currently.
---------
Authored-by: Pravin Jagtap <[email protected]>
Change-Id: Ie604b4e584d4e891cfb93f59897e45a2c2a53a1e1 parent dd59888 commit 6405a5f
File tree
9 files changed
+14467
-7684
lines changed- llvm
- lib/Target/AMDGPU
- test/CodeGen/AMDGPU
- GlobalISel
9 files changed
+14467
-7684
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
213 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
214 | 215 | | |
215 | 216 | | |
216 | 217 | | |
| |||
931 | 932 | | |
932 | 933 | | |
933 | 934 | | |
934 | | - | |
935 | | - | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
936 | 939 | | |
937 | 940 | | |
938 | 941 | | |
| |||
Lines changed: 255 additions & 51 deletions
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Lines changed: 560 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 420 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 3586 additions & 2216 deletions
Large diffs are not rendered by default.
Lines changed: 2907 additions & 1979 deletions
Large diffs are not rendered by default.
Lines changed: 2907 additions & 1978 deletions
Large diffs are not rendered by default.
Lines changed: 3580 additions & 1399 deletions
Large diffs are not rendered by default.
0 commit comments