| Issue |
114848
|
| Summary |
[DirectX] Replace resource accesses in the device address space to typedbuffer load and store
|
| Labels |
backend:DirectX
|
| Assignees |
|
| Reporter |
bogner
|
The frontend will generate accesses into resources via a `llvm.dx.resource.access` intrinsic that indexes into a resource handle and provides a pointer in the HLSL device address space. We need to have a pass that transforms these accesses post-inlining to dxil store and load intrinsics.
This issue tracks creating this pass and implementing handling for replacing these accesses with `llvm.dx.typedbuffer.load` and `llvm.dx.typedbuffer.store`. Handling for more complicated access patterns (ie `llvm.dx.rawbuffer.*`) will be tracked separately.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs