Commit 976aa3b
committed
[AMDGPU] Generalize global.load.lds to buffer fat pointers
Direct load to LDS can also be implemented on buffer fat pointers,
using the pointer as the offset to raw.buffer.ptr.load.lds. This
commit generalizes the existing intrinsic to support this usage.1 parent 441f879 commit 976aa3b
File tree
3 files changed
+47
-3
lines changed- llvm
- include/llvm/IR
- lib/Target/AMDGPU
- test/CodeGen/AMDGPU
3 files changed
+47
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2624 | 2624 | | |
2625 | 2625 | | |
2626 | 2626 | | |
| 2627 | + | |
| 2628 | + | |
2627 | 2629 | | |
2628 | 2630 | | |
2629 | 2631 | | |
2630 | 2632 | | |
2631 | | - | |
2632 | | - | |
| 2633 | + | |
| 2634 | + | |
2633 | 2635 | | |
2634 | 2636 | | |
2635 | 2637 | | |
2636 | 2638 | | |
2637 | 2639 | | |
| 2640 | + | |
2638 | 2641 | | |
2639 | 2642 | | |
2640 | 2643 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2167 | 2167 | | |
2168 | 2168 | | |
2169 | 2169 | | |
| 2170 | + | |
2170 | 2171 | | |
2171 | 2172 | | |
2172 | 2173 | | |
| |||
2255 | 2256 | | |
2256 | 2257 | | |
2257 | 2258 | | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
| 2272 | + | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
2258 | 2278 | | |
2259 | 2279 | | |
2260 | 2280 | | |
| |||
2291 | 2311 | | |
2292 | 2312 | | |
2293 | 2313 | | |
2294 | | - | |
| 2314 | + | |
| 2315 | + | |
| 2316 | + | |
| 2317 | + | |
2295 | 2318 | | |
2296 | 2319 | | |
2297 | 2320 | | |
| |||
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1724 | 1724 | | |
1725 | 1725 | | |
1726 | 1726 | | |
| 1727 | + | |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
0 commit comments